Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoHandlerFound occurs when dispatcher can'f find a registered handler for a task type ErrNoHandlerFound = errors.New("no handler found") )
Functions ¶
func NewDispatchHandler ¶
func NewDispatchHandler(handlers map[queue.TaskType]workers.TaskHandler) workers.TaskHandler
NewDispatchHandler creates a task handler that will dispatch tasks to other handlers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.