Documentation ¶
Index ¶
- func CreatOrUpdateViewedAck(sessionId uint64, accountId uint64, msgId uint64) error
- func CreateInMsg(senderId, msgId, receiverId uint64) (*model.InBox, error)
- func CreateOutMsg(msgType pb.MsgTypeEnum, senderId, sessionId uint64, content string) (*model.OutBox, error)
- func GetAccount(accountId uint64) (*model.Account, error)
- func GetSession(sessionId uint64) (*model.Session, error)
- func GetSessionPartner(sessionId uint64, accountId uint64) (*model.SessionAccount, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatOrUpdateViewedAck ¶
func CreateOutMsg ¶
func GetSessionPartner ¶
func GetSessionPartner(sessionId uint64, accountId uint64) (*model.SessionAccount, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.