Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Consumer ¶
type Consumer interface {
// Pull the next message, call callback and return
// If callback returns a temporary error, the message must be rescheduled, increasing its trycount
Pull(ctx context.Context, cb Callback) error
}
Consumer is an interface to consume messages
Click to show internal directories.
Click to hide internal directories.