Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Broker ¶
type Broker struct { common.Broker common.RedisConnector // contains filtered or unexported fields }
Broker represents a Redis broker
func (*Broker) GetPendingTasks ¶
GetPendingTasks returns a slice of task signatures waiting in the queue
func (*Broker) StartConsuming ¶
func (b *Broker) StartConsuming(consumerTag string, concurrency int, taskProcessor iface.TaskProcessor) (bool, error)
StartConsuming enters a loop and waits for incoming messages
Click to show internal directories.
Click to hide internal directories.