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 ¶
type MessageHandler ¶
type MessageHandler interface {
HandleMessage([]byte)
}
type Option ¶
type Option func(*Config)
func WithExchange ¶
func WithExchangeType ¶ added in v1.0.1
func WithHandler ¶
func WithHandler(h MessageHandler) Option
func WithLogger ¶
func WithQueueName ¶
Click to show internal directories.
Click to hide internal directories.