Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { ID primitive.ObjectID `bson:"_id"` UserID primitive.ObjectID `bson:"user_id"` MessageID int `bson:"message_id"` UpdateId int `bson:"update_id"` FromUserId int `bson:"from_user_id"` Date int `bson:"date"` ChatID int64 `bson:"chat_id"` Text string `bson:"text"` Origin string `bson:"origin"` }
type PushMessage ¶
type PushMessage struct { ID primitive.ObjectID `bson:"_id"` UserID primitive.ObjectID `bson:"user_id"` Title string `bson:"title" json:"title" form:"title"` Type string `bson:"type" json:"type" form:"type"` Content string `bson:"content" json:"content" form:"content" binding:"required"` Status string `bson:"status"` }
Click to show internal directories.
Click to hide internal directories.