Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageBody ¶
type MessageData ¶
type MessageData struct {
// message id
ID string `json:"id"`
// queue type
Type string `json:"type"`
// queue body
Body string `json:"body"`
// queue create time
CreatedAt int64 `json:"createdAt"`
// delay time(unit millisecond)
Delay int32 `json:"delay"`
// execution count
Attempt uint16 `json:"attempt"`
}
type QueueConf ¶
type QueueConf struct {
// queue name
Name string `json:",optional"`
// single active consumer,Effective only in RabbitMQ
SingleActive bool `json:",optional"`
}
QueueConf topic conf
Click to show internal directories.
Click to hide internal directories.