Documentation ¶
Index ¶
Constants ¶
View Source
const ( RabbitmqHost = "amqp://guest:guest@localhost:5672/" QueueName = "hello" ConsumerName = "" Exchange = "rpc_transaction" Durable = false DeleteWhenUnused = false Exclusive = false NoWait = false AutoAck = true NoLocal = false Mandatory = false Immediate = false DelayExpiration = "5000" // 设置5秒的队列过期时间, 这里仅仅用在延时队列设置当中 )
rabbitmq 的相关配置
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.