Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MessageReceive ¶
func (*MessageReceive) Insert ¶
func (mr *MessageReceive) Insert() error
func (*MessageReceive) SetRead ¶
func (mr *MessageReceive) SetRead() error
func (*MessageReceive) TableName ¶
func (mr *MessageReceive) TableName() string
type MessageSend ¶
type MessageSend struct { ID int64 FromID uint32 ToID uint32 Seq uint32 Content []byte SendTime time.Time SendType int }
func (*MessageSend) Insert ¶
func (ms *MessageSend) Insert() error
func (*MessageSend) TableName ¶
func (ms *MessageSend) TableName() string
TableName 如果考虑分表, 使用 from 字段
Click to show internal directories.
Click to hide internal directories.