Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hash ¶
type Hash string
Hash 消息哈希.
const ( HashDatetime = "060102150405" // 240506091011 HashUndefined Hash = "" )
type Message ¶
type Message struct { ConsumedCount int // 消费次数(从队列出取出次数). ProducedCount int // 发布次数(发布到主题次数,如延时,死信等). Body []byte // 消息内容. MessageId string // 消息ID. Queue name.QueueName // 队列名. Tag string // 消息标签名. Time time.Time // 消息发布时间. Topic name.TopicName // 消息主题名. // contains filtered or unexported fields }
Message 从MQ中收到的消息.
Click to show internal directories.
Click to hide internal directories.