Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogExchange = "ex.demo.log" AlternateExchange = "ex.alternate" DLXExchange = "ex.dlx" LogQueue1 = "q.demo.log.1" LogQueue2 = "q.demo.log.2" AlternateQueue = "q.alternate" DLXQueue = "q.dlx" LogRK1 = "rk.demo.log.1" LogRK2 = "rk.demo.log.2" DLXRK = "rk.dlx" AlternateRK = "rk.alternate" LogConsumer = "consumer.demo.log" )
Variables ¶
This section is empty.
Functions ¶
func InitExchangeAndQueues ¶
func RunConsumer ¶
func SendMessageConfirm ¶
SendMessageConfirm 使用生产者确认模式发送消息
func SendMessageTTL ¶
SendMessageTTL 发送TTL消息
Types ¶
Click to show internal directories.
Click to hide internal directories.