package
1.2.2
Repository: https://github.com/pathtofile/mcwss.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewCommandRequest returns a packet for a raw command to be executed.
NewEventRequest returns an event request for a particular event name and action.

# Constants

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

# Variables

Packets is a map to translate message purposes to their corresponding packets.

# Structs

CommandRequest is used to send a raw command line to the client.
ErrorResponse is sent by the client when an error occurs during the process of communicating.
EventRequest is sent by the server to request the client to start sending events of a particular type to the server.
EventResponse is sent by the client.
Header describes the header of a packet.
Packet is the main struct that describes every packet sent between client and server to communicate.
No description provided by the author

# Type aliases

CommandResponse is a merely a JSON raw message, because its value depends on what command was executed.
MessagePurpose is the purpose a JSON message was sent.