Documentation ¶
Index ¶
- type ChatServer
- func (s *ChatServer) ChatHistoryList(ctx context.Context, in *chat.ChatHistoryReq) (*chat.ChatHistoryRsp, error)
- func (s *ChatServer) ChatHistorySave(ctx context.Context, in *chat.CHSaveReq) (*chat.Rsp, error)
- func (s *ChatServer) ChatNumber(ctx context.Context, in *chat.ChatNumberReq) (*chat.ChatNumberRsp, error)
- func (s *ChatServer) MessageList(ctx context.Context, in *chat.MsgListReq) (*chat.MsgListRsp, error)
- func (s *ChatServer) MessageSave(ctx context.Context, in *chat.MsgSaveReq) (*chat.Rsp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatServer ¶
type ChatServer struct { chat.UnimplementedChatServer // contains filtered or unexported fields }
func NewChatServer ¶
func NewChatServer(svcCtx *svc.ServiceContext) *ChatServer
func (*ChatServer) ChatHistoryList ¶
func (s *ChatServer) ChatHistoryList(ctx context.Context, in *chat.ChatHistoryReq) (*chat.ChatHistoryRsp, error)
func (*ChatServer) ChatHistorySave ¶
func (*ChatServer) ChatNumber ¶
func (s *ChatServer) ChatNumber(ctx context.Context, in *chat.ChatNumberReq) (*chat.ChatNumberRsp, error)
func (*ChatServer) MessageList ¶
func (s *ChatServer) MessageList(ctx context.Context, in *chat.MsgListReq) (*chat.MsgListRsp, error)
func (*ChatServer) MessageSave ¶
func (s *ChatServer) MessageSave(ctx context.Context, in *chat.MsgSaveReq) (*chat.Rsp, error)
Click to show internal directories.
Click to hide internal directories.