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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const OnlineTopicBusy = 1
View Source
const OnlineTopicVacancy = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd2Value

type Cmd2Value struct {
	Cmd   int
	Value interface{}
}

type MsgTransferHistoryServer

type MsgTransferHistoryServer struct {
	OnlineTopicStatus int
	// contains filtered or unexported fields
}

func NewMsgTransferHistoryServer

func NewMsgTransferHistoryServer(svcCtx *svc.ServiceContext) *MsgTransferHistoryServer

func (*MsgTransferHistoryServer) ChatMs2Mongo

func (s *MsgTransferHistoryServer) ChatMs2Mongo(msg []byte, msgKey string) error

func (*MsgTransferHistoryServer) Cleanup

func (*MsgTransferHistoryServer) ConsumeClaim

func (*MsgTransferHistoryServer) SetOnlineTopicStatus

func (s *MsgTransferHistoryServer) SetOnlineTopicStatus(busy int)

func (*MsgTransferHistoryServer) Setup

func (*MsgTransferHistoryServer) Start

func (s *MsgTransferHistoryServer) Start()

func (*MsgTransferHistoryServer) TriggerCmd

func (s *MsgTransferHistoryServer) TriggerCmd(ctx context.Context, status int)

Jump to

Keyboard shortcuts

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