Versions in this module Expand all Collapse all v1 v1.0.0 Jan 21, 2020 Changes in this version + type Agent interface + Close func() + Destroy func() + LocalAddr func() net.Addr + RemoteAddr func() net.Addr + SetUserData func(data interface{}) + UserData func() interface{} + WriteMsg func(msg interface{}) + type Gate struct + AgentChanRPC *chanrpc.Server + CertFile string + HTTPTimeout time.Duration + KeyFile string + LenMsgLen int + LittleEndian bool + MaxConnNum int + MaxMsgLen uint32 + PendingWriteNum int + Processor network.Processor + TCPAddr string + WSAddr string + func (gate *Gate) OnDestroy() + func (gate *Gate) Run(closeSig chan bool)