tcp

package
v0.0.0-...-26c2032 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsgHooker

type MsgHooker struct {
}

带有RPC和relay功能

func (MsgHooker) OnInboundEvent

func (self MsgHooker) OnInboundEvent(inputEvent cellnetEx.Event) (outputEvent cellnetEx.Event)

func (MsgHooker) OnOutboundEvent

func (self MsgHooker) OnOutboundEvent(inputEvent cellnetEx.Event) (outputEvent cellnetEx.Event)

type TCPMessageTransmitter

type TCPMessageTransmitter struct {
}

func (TCPMessageTransmitter) OnRecvMessage

func (TCPMessageTransmitter) OnRecvMessage(ses cellnetEx.Session) (msg interface{}, err error)

func (TCPMessageTransmitter) OnSendMessage

func (TCPMessageTransmitter) OnSendMessage(ses cellnetEx.Session, msg interface{}) (err error)

Jump to

Keyboard shortcuts

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