Documentation ¶
Index ¶
Constants ¶
View Source
const ( AgentCreatedEvent = "NewAgent" AgentBeforeCloseEvent = "CloseAgent" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TcpClient ¶
type TcpClient struct { Server string MsgProcessor processor.Processor RPCServer *chanrpc.Server BinaryParser tcp.IParser AutoReconnect bool UserData interface{} }
func (*TcpClient) AgentChanRPC ¶
type TcpGate ¶
type TcpGate struct { Addr string MaxConnNum int PendingWriteNum int MsgProcessor processor.Processor RPCServer *chanrpc.Server BinaryParser tcp.IParser }
func (*TcpGate) AgentChanRPC ¶
type WsClient ¶
type WsClient struct { Server string MsgTextFormat bool HttpTimeout time.Duration MsgProcessor processor.Processor RPCServer *chanrpc.Server AutoReconnect bool UserData interface{} }
func (*WsClient) AgentChanRPC ¶
type WsGate ¶
type WsGate struct { MaxConnNum int PendingWriteNum int MaxMsgLen uint32 MsgProcessor processor.Processor MsgTextFormat bool AuthFunc func(*http.Request) (bool, interface{}) RPCServer *chanrpc.Server Addr string HTTPTimeout time.Duration CertFile string KeyFile string }
func (*WsGate) AgentChanRPC ¶
Click to show internal directories.
Click to hide internal directories.