Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Client *client
)
Functions ¶
func InitRabbitMq ¶
func InitRabbitMqWithConfig ¶ added in v0.2.10
Types ¶
type ConsumeParams ¶
type QueueBindParams ¶
type QueueDeclareParams ¶
type RabbitMQConsumer ¶
type RabbitMQConsumer struct { ErrChan chan error // contains filtered or unexported fields }
func NewRabbitMQConsumer ¶
func NewRabbitMQConsumer(workSize int64, rabbitModel string, queueDeclareParams *QueueDeclareParams, consumeParams *ConsumeParams, queueBindParams ...*QueueBindParams) *RabbitMQConsumer
func (*RabbitMQConsumer) Working ¶
func (f *RabbitMQConsumer) Working(consumer Consumer) (err error)
Click to show internal directories.
Click to hide internal directories.