Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChannelQueue ¶
func DeclareQueue ¶
func DeclareQueue(queueName string, handler CloseHandler) (cq *ChannelQueue)
DeclareQueue 声明队列
type CloseHandler ¶
type CloseHandler func(cq *ChannelQueue)
type CommandData ¶
type ConsumeHandler ¶
type ConsumeHandler func(cq *ChannelQueue, data CommandData)
Click to show internal directories.
Click to hide internal directories.