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
AgentChanRPC *chanrpc.Server
// websocket
WSAddr string
HTTPTimeout time.Duration
// tcp
TCPAddr string
LenMsgLen int
LittleEndian bool
}
func (*Gate) InitClient ¶
func (*Gate) InitClients ¶
Click to show internal directories.
Click to hide internal directories.