Documentation
¶
Index ¶
Constants ¶
View Source
const ( // StatusStart status StatusStart int32 // StatusHandshake status StatusHandshake // StatusWorking status StatusWorking // StatusClosed status StatusClosed )
View Source
const ( IPVersionKey = "ipversion" IPv4 = "ipv4" IPv6 = "ipv6" )
IP constants
View Source
const ( Gate = "gate" TCPAcceptor = "tcp_acceptor" WSAcceptor = "ws_acceptor" )
View Source
const AgentPrefix = "agent"
Variables ¶
View Source
var ( // ErrWrongPomeloPacketType represents a wrong packet type. ErrWrongPomeloPacketType = errors.New("wrong packet type") // ErrInvalidPomeloHeader represents an invalid header ErrInvalidPomeloHeader = errors.New("invalid header") )
Functions ¶
This section is empty.
Types ¶
type AcceptorType ¶
type AcceptorType int32
const ( AcceptorTypeTCP AcceptorType = 1 AcceptorTypeWS AcceptorType = 2 )
Click to show internal directories.
Click to hide internal directories.