Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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{})
}
Click to show internal directories.
Click to hide internal directories.