Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gate ¶
type Gate struct { MaxConnNum int PendingWriteNum int MaxMsgLen uint32 Processor network.Processor // websocket WSAddr string HTTPTimeout time.Duration CertFile string KeyFile string // tcp TCPAddr string LenMsgLen int LittleEndian bool // agent GoLen int TimerDispatcherLen int AsynCallLen int NewChanRPCFunc func(Agent) UserHandler OnAgentInit func(Agent) OnAgentDestroy func(Agent) }
type UserHandler ¶
Click to show internal directories.
Click to hide internal directories.