Documentation
¶
Overview ¶
TODO 提取公共部分到 spring-rabbit 包
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AMQPServer ¶
type AMQPServer struct { Connection *amqp.Connection Channel *amqp.Channel }
func CreateServer ¶
func CreateServer(config AMQPServerConfig) (*AMQPServer, error)
CreateServer 创建 AMQPServer 对象,采用预先声明的方式避免运行时锁消耗
type AMQPServerConfig ¶
Click to show internal directories.
Click to hide internal directories.