Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoldServer ¶
type GoldServer server
func (GoldServer) GetInfo ¶
func (model GoldServer) GetInfo() (GoldServerResponse, error)
GetInfo queries a GoldServer and returns either a response or an error.
type GoldServerResponse ¶
type GoldServerResponse struct { Header byte Protocol byte Hostname string Map string Folder string AppId int64 Game string NumPlayers byte MaxPlayers byte Bots byte ServerType byte Environment byte Visibility byte Vac byte }
GoldServerResponse implements the A2S_INFO query result.
func (GoldServerResponse) PrintDebug ¶
func (self GoldServerResponse) PrintDebug()
PrintDebug prints the fields of a serverResponse into the console.
type MinecraftServer ¶
type MinecraftServer server
func (MinecraftServer) GetInfo ¶
func (self MinecraftServer) GetInfo() (Response, error)
Click to show internal directories.
Click to hide internal directories.