Documentation
¶
Index ¶
- func AddLink(l *Link) error
- func AddMessage(m *Message) error
- func AddOrUpdateChat(c *Chat) error
- func AddTopic(t *Topic) error
- func DelLinkById(id int64) error
- func DelTopic(master_limb, slave_limb string) error
- func GetChatCount(query string) (int, error)
- type Chat
- type Link
- type Message
- type Pager
- type Topic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMessage ¶
func AddOrUpdateChat ¶
func DelLinkById ¶
func GetChatCount ¶
Types ¶
type Message ¶
type Message struct { ID string MasterLimb string MasterMsgID string MasterMsgThreadID string SlaveLimb string SlaveMsgID string SlaveSender string Content string Timestamp int64 }
func GetMessageByMasterMsgId ¶
func GetMessagesBySlave ¶
Click to show internal directories.
Click to hide internal directories.