Documentation
¶
Index ¶
- type ChatServer
- func (s *ChatServer) GetMaxAndMinSeq(ctx context.Context, in *pb.GetMinAndMaxSeqReq) (*pb.GetMinAndMaxSeqResp, error)
- func (s *ChatServer) GetMinAndMaxGroupSeq(ctx context.Context, in *pb.GetMinAndMaxGroupSeqReq) (*pb.GetMinAndMaxGroupSeqResp, error)
- func (s *ChatServer) PullMessageByGroupSeqList(ctx context.Context, in *pb.PullMsgByGroupSeqListReq) (*pb.PullMsgListResp, error)
- func (s *ChatServer) PullMessageBySeqList(ctx context.Context, in *pb.PullMsgBySeqListReq) (*pb.PullMsgListResp, error)
- func (s *ChatServer) SendMsg(ctx context.Context, in *pb.SendMsgReq) (*pb.SendMsgResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatServer ¶
type ChatServer struct { pb.UnimplementedChatServer // contains filtered or unexported fields }
func NewChatServer ¶
func NewChatServer(svcCtx *svc.ServiceContext) *ChatServer
func (*ChatServer) GetMaxAndMinSeq ¶
func (s *ChatServer) GetMaxAndMinSeq(ctx context.Context, in *pb.GetMinAndMaxSeqReq) (*pb.GetMinAndMaxSeqResp, error)
func (*ChatServer) GetMinAndMaxGroupSeq ¶
func (s *ChatServer) GetMinAndMaxGroupSeq(ctx context.Context, in *pb.GetMinAndMaxGroupSeqReq) (*pb.GetMinAndMaxGroupSeqResp, error)
func (*ChatServer) PullMessageByGroupSeqList ¶
func (s *ChatServer) PullMessageByGroupSeqList(ctx context.Context, in *pb.PullMsgByGroupSeqListReq) (*pb.PullMsgListResp, error)
func (*ChatServer) PullMessageBySeqList ¶
func (s *ChatServer) PullMessageBySeqList(ctx context.Context, in *pb.PullMsgBySeqListReq) (*pb.PullMsgListResp, error)
func (*ChatServer) SendMsg ¶
func (s *ChatServer) SendMsg(ctx context.Context, in *pb.SendMsgReq) (*pb.SendMsgResp, error)
Click to show internal directories.
Click to hide internal directories.