frontend

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(addr string)

func Stop

func Stop()

Types

type RelayUpMsgHooker

type RelayUpMsgHooker struct {
}

func (RelayUpMsgHooker) OnInboundEvent

func (RelayUpMsgHooker) OnInboundEvent(inputEvent cellnet.Event) (outputEvent cellnet.Event)

从客户端接收到的消息

func (RelayUpMsgHooker) OnOutboundEvent

func (RelayUpMsgHooker) OnOutboundEvent(inputEvent cellnet.Event) (outputEvent cellnet.Event)

发送到客户端的消息

type ReplyEvent

type ReplyEvent interface {
	Reply(msg interface{})
}

Jump to

Keyboard shortcuts

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