Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultAddr = "amqp://root:123456@127.0.0.1:5672" DefaultVirtualHost = "rmq" DefaultQueueName = "rmq-queue" DefaultTagConsumer = "rmq-tag" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQConsumer ¶
type MQConsumer struct {
Consumer *consumer
}
func (*MQConsumer) Init ¶
func (c *MQConsumer) Init(options ...Option)
Init
that has been initialized properly essentially don't touch conn, channel, or done, and you can create Consumer manually
Click to show internal directories.
Click to hide internal directories.