package
0.0.0-20220704044201-b00f5d7a74bf
Repository: https://github.com/jtieri/habbgo.git
Documentation: pkg.go.dev

# Functions

GetPacketHandlerName is a hacky way to get the name of the incoming/outgoing packet function call, this is useful in debugging so you can quickly analyze the flow of packets.
New returns a pointer to a newly allocated Server struct.
NewSession returns a pointer to a newly allocated Session struct.
RegisterCommands initializes the Router and registers the Command handler functions.

# Structs

Config is the game server configuration settings.
Router maps incoming packet header ID's to their appropriate Command handlers.
Server is the main game server.
Session represents a player.Player's underlying network session and connection to the server.