Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 //add by huanglin FunNewAgent func(Agent) FunCloseAgent func(Agent) FuncMsgRecv func(interface{}, Agent) }
Click to show internal directories.
Click to hide internal directories.