package
0.0.0-20240926215053-69aed98de6b8
Repository: https://github.com/solher/toolbox.git
Documentation: pkg.go.dev
# Functions
LoggerWithTask adds task information to a logger.
NewPostgresQueueRepo returns a new Postgres backed QueueRepository.
NewQueueWorker returns a worker that synchronizes a SQL table formed as a list of pair documentID/timestamp with a channel.
NewWorker returns a new Worker.
# Interfaces
QueueRepository allows interaction with a Task queue.
Workable defines objects usable by the worker.
Worker provides a synchronization api to a workable.