Apply .gitignore rules
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package model
|
||||
|
||||
// 消息对象
|
||||
type MessageInfo struct {
|
||||
// 本次消费的消息正文
|
||||
MsgBody string `json:"msgBody"`
|
||||
|
||||
// 服务器生成消息的唯一标识Id
|
||||
MsgId string `json:"msgId"`
|
||||
|
||||
// 每次消费返回唯一的消息句柄。用于删除该消息,仅上一次消费时产生的消息句柄能用于删除消息。
|
||||
ReceiptHandle string `json:"receiptHandle"`
|
||||
|
||||
// 消费被生产出来,进入队列的时间
|
||||
EnqueueTime int64 `json:"enqueueTime"`
|
||||
|
||||
// 第一次消费该消息的时间
|
||||
FirstDequeueTime int64 `json:"firstDequeueTime"`
|
||||
|
||||
// 消息的下次可见(可再次被消费)时间
|
||||
NextVisibleTime int64 `json:"nextVisibleTime"`
|
||||
|
||||
// 消息被消费的次数
|
||||
DequeueCount int64 `json:"dequeueCount"`
|
||||
}
|
||||
Reference in New Issue
Block a user