Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CountMessageHandler ¶
type CountMessageHandler struct { // AutoAck auto ack messages AutoAck bool // Count the number of messages consumed Count int Preview bool Formatter f.Formatter }
CountMessageHandler used to count the number of messages consumed
func NewCountMessageHandler ¶
func NewCountMessageHandler() *CountMessageHandler
NewCountMessageHandler Initilize the count message handler returns CountMessageHandler a new count message handler
type PublisheWorker ¶
PublisheWorker Sets the publisher to use
func (*PublisheWorker) GenerateMessages ¶
func (pw *PublisheWorker) GenerateMessages(count int) error
GenerateMessages generats a number of messages
Click to show internal directories.
Click to hide internal directories.