Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RabbitMQ ¶
type RabbitMQ struct { //队列名称 QueueName string //交换机名称 Exchange string //bind Key 名称 Key string //连接信息 MqUrl string // contains filtered or unexported fields }
func GetRabbitMQ ¶
func GetRabbitMQ() *RabbitMQ
func NewRabbitMQ ¶
NewRabbitMQ 创建结构体实例
func NewRabbitMQSimple ¶
NewRabbitMQSimple 创建简单模式下RabbitMQ实例
Click to show internal directories.
Click to hide internal directories.