package
0.0.0-20220516142628-310556015c0c
Repository: https://github.com/dids/rustbot.git
Documentation: pkg.go.dev
# Functions
NewWebrcon creates and returns a new instance of Webrcon.
# Constants
ChatIdentifier marks packets as chat messages.
ChatType is a packet type.
GenericIdentifier marks packets as generic data.
GenericType is a packet type.
IgnoreIdentifier marks packets as ignored.
IgnoreType is a packet type.
# Structs
ChatPacket represents a single webrcon chat packet.
DisconnectPacket represents a single webrcon disconnect packet.
JoinPacket represents a single webrcon join packet.
Packet represents a single webrcon packet.
PlayerPacket represents a single user in a StatusPacket.
StatusPacket represents a single webrcon status packet.
Webrcon is an abstraction around the Webrcon client.
# Type aliases
PacketIdentifier represents the identifier of a webrcon packet.
PacketType represents the type of a webrcon packet.