# Functions

NewHub returns a Hub.
NewMessage populates and returns a Message pointer after having converted the v interface{} into a JSON string.
Upgrade upgrades the connection to a websocket connection.

# Structs

Client represents the user connected through the websocket.
Hub is the struct which holds the internal communication channels for communication with websockets.
Message represents the message that will be sent to the client and frontend.
Player struct is used to represent a player who is currently playing the game.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author