package
0.6.41
Repository: https://github.com/revzim/nano.git
Documentation: pkg.go.dev

# 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.

# Structs

Packet represents a network packet.

# Type aliases

Type represents the network packet's type such as: handshake and so on.