Documentation ¶
Index ¶
Constants ¶
View Source
const ( CmdAuthenticate = 0x00 CmdConnect = 0x01 CmdPacket = 0x02 CmdDissociate = 0x03 CmdHeartbeat = 0x04 )
View Source
const ( HeaderLen = 2 PacketLen = 8 AuthenticateLen = 48 DissociateLen = 2 )
View Source
const ( NetworkTcp = "tcp" NetworkUdp = "udp" )
View Source
const ( UdpRelayModeQuic = "quic" UdpRelayModeNative = "native" )
View Source
const ( NormalClosed = quic.StreamErrorCode(0) ClientCanceled = quic.StreamErrorCode(1) ServerCanceled = quic.StreamErrorCode(2) )
View Source
const DefaultConcurrentStreams int64 = 32
View Source
const VersionMajor = 0x05
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketResponse ¶
Click to show internal directories.
Click to hide internal directories.