Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Broker ¶
type Broker interface { Connect(brokerURL string) error GetTasks(queue string) <-chan *Message GetTaskResult(taskID string) <-chan *Message PublishTask(queueName string, taskID string, msg *Message, ignoreResults bool) error PublishTaskResult(taskID string, msg *Message) error PublishTaskEvent(taskID string, msg *Message) error Close() error }
Broker implements the underlying broker for the task queue
Click to show internal directories.
Click to hide internal directories.