Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IHandleMgr ¶
type IHandleMgr interface { StartPool() StopPool() AddRouter(id uint32, router RouterCallback) SendToHandler(request IRequest) }
type IServer ¶
type IServer interface { Stop() Serve() RegisterRouter(opcode uint32, router RouterCallback) Push(sid string, opcode uint32, msg []byte) RegisterOnConnect(connect NotifyCallback) RegisterOnDisConnect(disconnect NotifyCallback) CallOnConnect(sid string) CallOnDisConnect(sid string) GetHandleMgr() IHandleMgr GetSessionMgr() ISessionMgr }
type ISessionMgr ¶
type NotifyCallback ¶
type NotifyCallback func(session ISession)
type RouterCallback ¶
Click to show internal directories.
Click to hide internal directories.