Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // Messages is a channel that receives messages from the server and forwards the parsed message. Messages chan any // Commands is a channel that receives commands from the client and sends the encoded command over the ws connection. Commands chan Command // Errors is a channel that distributes any errors that occur during the connection. Errors chan error // contains filtered or unexported fields }
Client represents a connection to the game management server.
Click to show internal directories.
Click to hide internal directories.