Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func NewConsumer ¶
func (*Consumer) StartConsuming ¶
StartConsuming consumes tasks and calls handler for each of them. If a message cannot be unmarshalled, it's discarded. If handler fails, the message is requeued. Otherwise, the message is acked.
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func NewProducer ¶
Click to show internal directories.
Click to hide internal directories.