server

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 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 {
	// contains filtered or unexported fields
}

func NewChatServer

func NewChatServer(svcCtx *svc.ServiceContext) *ChatServer

func (*ChatServer) ChatHistoryList

func (s *ChatServer) ChatHistoryList(ctx context.Context, in *template.ChatHistoryReq) (*template.ChatHistoryRsp, error)

func (*ChatServer) ChatHistorySave

func (s *ChatServer) ChatHistorySave(ctx context.Context, in *template.CHSaveReq) (*template.Rsp, error)

func (*ChatServer) ChatNumber

func (*ChatServer) MessageList

func (s *ChatServer) MessageList(ctx context.Context, in *template.MsgListReq) (*template.MsgListRsp, error)

func (*ChatServer) MessageSave

func (s *ChatServer) MessageSave(ctx context.Context, in *template.MsgSaveReq) (*template.Rsp, error)

Jump to

Keyboard shortcuts

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