Documentation ¶
Index ¶
Constants ¶
View Source
const ( DataBase = "beowl_mns" RetryC = "retry" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MNSTopic ¶
type MNSTopic struct {
// contains filtered or unexported fields
}
func NewMNSTopic ¶
func (*MNSTopic) SendMessage ¶
发送消息到主题
type Retry ¶
type Retry struct { Id string `json:"id" bson:"_id" comment:"id"` RetryNum int `json:"retry_num" bson:"retry_num" comment:"重试次数"` IsDone int `json:"is_done" bson:"is_done" comment:"是否重试完毕 0:否 1:是"` IsSucc int `json:"is_succ" bson:"is_succ" comment:"是否发送队列成功 0:否 1:是"` Data string `json:"data" bson:"data" comment:"入列数据"` UpdateTime int64 `json:"update_time" bson:"update_time" comment:"更新时间"` }
Click to show internal directories.
Click to hide internal directories.