Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GroupMember ¶
type GroupMember struct { Model Account string `gorm:"uniqueIndex:uni_gp_acc;size:60"` Group string `gorm:"uniqueIndex:uni_gp_acc;index;size:30"` Alias string `gorm:"size:30"` }
GroupMember GroupMember
type MessageContent ¶
type MessageIndex ¶
type MessageIndex struct { ID int64 `gorm:"primarykey"` AccountA string `gorm:"index;size:60;not null;comment:队列唯一标识"` AccountB string `gorm:"size:60;not null;comment:另一方"` Direction byte `gorm:"default:0;not null;comment:1表示AccountA为发送者"` MessageID int64 `gorm:"not null;comment:关联消息内容表中的ID"` Group string `gorm:"size:30;comment:群ID,单聊情况为空"` SendTime int64 `gorm:"index;not null;comment:消息发送时间"` }
Click to show internal directories.
Click to hide internal directories.