server

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: GPL-3.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 {
	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 (s *ChatServer) ChatHistorySave(ctx context.Context, in *chat.CHSaveReq) (*chat.Rsp, error)

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)

Jump to

Keyboard shortcuts

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