mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-05 01:25:58 +08:00
Error code standardization
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"Open_IM/pkg/proto/msg"
|
||||
pbMsg "Open_IM/pkg/proto/msg"
|
||||
"context"
|
||||
)
|
||||
|
||||
type MsgInterface interface {
|
||||
//消息写入队列
|
||||
MsgToMQ(ctx context.Context, key string, m *msg.MsgDataToMQ) error
|
||||
|
||||
BatchInsertChat2DB(ctx context.Context, userID string, msgList []*pbMsg.MsgDataToMQ, currentMaxSeq uint64) error
|
||||
BatchInsertChat2Cache(ctx context.Context, insertID string, msgList []*pbMsg.MsgDataToMQ) (error, uint64)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user