server

package
v0.0.0-...-efd9455 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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.GetMaxAndMinSeqReq) (*pb.GetMaxAndMinSeqResp, error)

func (*ChatServer) GetSuperGroupMaxAndMinSeq

func (*ChatServer) PullMessageBySeqList

func (*ChatServer) PullMessageBySuperGroupSeqList

func (s *ChatServer) PullMessageBySuperGroupSeqList(ctx context.Context, in *pb.PullMessageBySuperGroupSeqListReq) (*pb.WrapPullMessageBySeqListResp, error)

func (*ChatServer) SendMsg

func (s *ChatServer) SendMsg(ctx context.Context, in *pb.SendMsgReq) (*pb.SendMsgResp, error)

Jump to

Keyboard shortcuts

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