Documentation ¶
Index ¶
- func OnClose(closeFunc func(playerID int64, chlCtx service.IChannelContext))
- func Push(ChlCtx service.IChannelContext, msgMsgID uint16, v interface{}) error
- func PushClose(ChlCtx service.IChannelContext, msgMsgID uint16, v interface{}, desc string) error
- func Response(ChlCtx service.IChannelContext, msgSeqID uint32, msgMsgID uint16, ...) error
- func ResponseClose(ChlCtx service.IChannelContext, msgSeqID uint32, msgMsgID uint16, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnClose ¶ added in v1.0.6
func OnClose(closeFunc func(playerID int64, chlCtx service.IChannelContext))
OnClose 监听连接中断
func PushClose ¶
func PushClose(ChlCtx service.IChannelContext, msgMsgID uint16, v interface{}, desc string) error
func Response ¶
func Response(ChlCtx service.IChannelContext, msgSeqID uint32, msgMsgID uint16, v interface{}) error
func ResponseClose ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.