bonus

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BonusClient

type BonusClient struct {
	// contains filtered or unexported fields
}

func InitBonus

func InitBonus(logger logging.Logger) *BonusClient

func (*BonusClient) Close

func (bc *BonusClient) Close() error

type MyTcpProcessor

type MyTcpProcessor struct {
	network.DefTcpProcessor
}

func (*MyTcpProcessor) CipherKeyNtf

func (slf *MyTcpProcessor) CipherKeyNtf(session *network.Session, msg proto.Message)

func (*MyTcpProcessor) EmitCheque

func (slf *MyTcpProcessor) EmitCheque(session *network.Session, msg proto.Message)

func (*MyTcpProcessor) Heartbeat

func (slf *MyTcpProcessor) Heartbeat(session *network.Session)

func (*MyTcpProcessor) HeartbeatRsp

func (slf *MyTcpProcessor) HeartbeatRsp(session *network.Session, msg proto.Message)

func (*MyTcpProcessor) OnConnectClose

func (slf *MyTcpProcessor) OnConnectClose(session *network.Session)

func (*MyTcpProcessor) OnConnectSucc

func (slf *MyTcpProcessor) OnConnectSucc(session *network.Session)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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