dao

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatOrUpdateViewedAck

func CreatOrUpdateViewedAck(sessionId uint64, accountId uint64, msgId uint64)

func CreateInMsg

func CreateInMsg(senderId, msgId, receiverId uint64) *model.InBox

func CreateOutMsg

func CreateOutMsg(msgType pb.MsgTypeEnum, senderId, sessionId uint64, content string) *model.OutBox

func GetAccount

func GetAccount(accountId uint64) *model.Account

func GetSession

func GetSession(sessionId uint64) *model.Session

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL