Documentation ¶
Index ¶
Constants ¶
View Source
const ( Handshake = 0x01 HandshakeAck = 0x02 Heartbeat = 0x03 Data = 0x04 Kick = 0x05 )
*
- ==========================
- Packet
- ========================== *
- Handshake 01 - Client-to-server handshake request and server-to-client handshake response
- HandshakeAck 02 - Client to server handshake ack
- Heartbeat 03 - Heartbeat packet
- Data 04 - Data packet
- Kick 05 - Server active disconnect notification *
Variables ¶
View Source
var (
ErrWrongPacketType = errors.New("wrong packet type")
)
*
- ==========================
- Packet
- ========================== *
- ErrWrongPacketType Packet *
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.