package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Dec 4, 2019
License: MIT
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewWorker(workerCfg Config)
NewWorker creates a new worker instance to listen and process jobs in the queue.
Config defines configuration for creating a NewWorker.
Context defines the job context to be passed to the worker.
FindJob worker middleware for setting job context from job arguments.
Log worker middleware for logging job.
SendJob worker handler for running job.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.