Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FailedTask ¶
type Queue ¶
type Queue interface {
// Name - The name of the queue
Name() string
// Send - Push a number of tasks to a queue
Send([]*Task) ([]*FailedTask, error)
// Receive - Retrieve tasks from a queue to a maximum of the given depth
Receive(int) ([]ReceivedTask, error)
}
Queue - Interface for a Queue reference
type ReceivedTask ¶
Click to show internal directories.
Click to hide internal directories.