package
0.0.0-20210111212319-aa68bd442880
Repository: https://github.com/coderlane/go-minecraft-ping.git
Documentation: pkg.go.dev

# Functions

NewMinecraftClient wraps an existing client connection as a MinecraftClient.
NewMinecraftClientFromAddress creates a new client connection with a Minecraft server.
NewMockMinecraftClient creates a new mock instance.

# Constants

ClientStateLogin is for authenticating with the client.
ClientStateStatus is for sending unauthenticated ping and status messages.
ClientStateUnknown is the default state.

# Structs

Handshake represents the opening handshake with the server.
MockMinecraftClient is a mock of MinecraftClient interface.
MockMinecraftClientMockRecorder is the mock recorder for MockMinecraftClient.
StatusDescription represents the message of the day reported by the server.
StatusPlayers represents the players logged in to the server.
StatusResponse is the response to a status request to the server.
StatusVersion represents the server version.
User represents a minecraft user.

# Interfaces

MinecraftClient represents a client connection to a Minecraft server.

# Type aliases

ClientState represents the connection state of the client.