Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalMessage ¶
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func NewConsumer ¶
func NewConsumer(log *logger.Logger, client *Client, consumerCfg *ConsumerConfig) *Consumer
type ConsumerConfig ¶
type ConsumerConfig struct {
Main QueueConfig
Delay *DelayQueueConfig
Dead *QueueConfig
Handler MessageHandler
}
type DelayQueueConfig ¶
type MessageHandler ¶
Click to show internal directories.
Click to hide internal directories.