Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotYetImplemented refers to the not yet implemented error ErrNotYetImplemented = errors.New("not yet implemented") )
Functions ¶
This section is empty.
Types ¶
type TaskQueue ¶
type TaskQueue interface { StartWorker() error Register(taskName string, task interface{}) error SubmitTask(task string, args ...interface{}) (TaskResult, error) SubmitTaskWithMapArgs(task string, args map[string]interface{}) (TaskResult, error) Close() error }
TaskQueue represents an abstraction of a task queue
Click to show internal directories.
Click to hide internal directories.