app

package
v0.0.0-...-78a0d84 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogicServer

type LogicServer struct {
	*network.Server
	// contains filtered or unexported fields
}

func NewLogicServer

func NewLogicServer(name, confPath string) *LogicServer

func (*LogicServer) OnClientService

func (ls *LogicServer) OnClientService(conn defs.IConnection, packet defs.IPacket)

func (*LogicServer) SendDataToCenter

func (ls *LogicServer) SendDataToCenter(session defs.ISession, d interface{})

func (*LogicServer) SendToCenter

func (ls *LogicServer) SendToCenter(packet defs.IPacket)

Jump to

Keyboard shortcuts

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