mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-02 16:15:59 +08:00
msg del
This commit is contained in:
@@ -22,6 +22,11 @@ type MsgInterface interface {
|
||||
// status
|
||||
SetSendMsgStatus(ctx context.Context, id string, status int32) error
|
||||
GetSendMsgStatus(ctx context.Context, id string) (int32, error) // 不存在返回 constant.MsgStatusNotExist
|
||||
// delete
|
||||
DelMsgFromCache(ctx context.Context, userID string, seqs []uint32) error
|
||||
GetGroupMaxSeq(ctx context.Context, groupID string) (uint32, error)
|
||||
SetGroupUserMinSeq(ctx context.Context, groupID string, seq uint32) error
|
||||
DelUserAllSeq(ctx context.Context, userID string) error // redis and mongodb
|
||||
}
|
||||
|
||||
type MsgDatabaseInterface interface {
|
||||
|
||||
Reference in New Issue
Block a user