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 MsgTransferPersistentServer

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

func NewMsgTransferPersistentServer

func NewMsgTransferPersistentServer(svcCtx *svc.ServiceContext) *MsgTransferPersistentServer

func (*MsgTransferPersistentServer) ChatMs2mysql

func (s *MsgTransferPersistentServer) ChatMs2mysql(msg []byte, msgKey string) error

func (*MsgTransferPersistentServer) Cleanup

func (*MsgTransferPersistentServer) ConsumeClaim

func (*MsgTransferPersistentServer) SetOnlineTopicStatus

func (s *MsgTransferPersistentServer) SetOnlineTopicStatus(busy int)

func (*MsgTransferPersistentServer) Setup

func (*MsgTransferPersistentServer) Start

func (s *MsgTransferPersistentServer) Start()

func (*MsgTransferPersistentServer) TriggerCmd

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

Jump to

Keyboard shortcuts

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