# Functions
New create a Packet instance.
# Constants
Data represents a common data packet.
Handshake represents a handshake: request(client) <====> handshake response(server).
HandshakeAck represents a handshake ack from client to server.
Heartbeat represents a heartbeat.
disconnect message from server.
# Variables
ErrWrongPacketType represents a wrong packet type.
# Type aliases
Type represents the network packet's type such as: handshake and so on.