Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MessageToMysql ¶
func MessageToMysql()
Types ¶
type Message ¶
type Message struct { Id int64 `json:"id,omitempty" form:"id"` // 消息ID Type int `json:"type,omitempty" form:"type"` // 消息类型: 1私聊 9检测心跳 IsRead int `json:"is_read,omitempty" form:"id_read"` // 消息是否已读 SendId string `json:"send_id,omitempty" form:"send_id"` // 发送者 ReceiveId string `json:"receive_id,omitempty" form:"receive_id"` // 接收者 Content string `json:"content,omitempty" form:"content"` // 消息的内容 SendAt int64 `json:"send_at"` // 时间戳 CreatedAt int64 `json:"created_at,omitempty" form:"created_at"` // 时间戳 }
Click to show internal directories.
Click to hide internal directories.