Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Broker ¶
type Broker struct { common.Broker MaxExtension time.Duration // contains filtered or unexported fields }
Broker represents an Google Cloud Pub/Sub broker
func (*Broker) Publish ¶
Publish places a new message on the default queue or the queue pointed to by the routing key
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.