package
0.0.0-20170807025737-bc5efd8bc7ac
Repository: https://github.com/lonnng/starx.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
Protocol refs: https://github.com/NetEase/pomelo/wiki/Communication-Protocol
-<type>-|--------<length>--------|-<data>- --------|------------------------|-------- 1 byte packet type, 3 bytes packet data length(big end), and data segment.
Unpack binary data to packet, if packet has not been received completely, return nil and incomplete data, concrete protocol ref pack function.
# Constants
data packet.
packet for handshake request(client) <====> handshake response(server).
packet for handshake ack from client to server.
No description provided by the author
heartbeat packet.
disconnect message from server.
# Variables
No description provided by the author
# Type aliases
No description provided by the author