Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicQuery ¶
type BedrockStatus ¶
type BedrockStatus struct { ServerGUID int64 `json:"server_guid"` Edition *string `json:"edition"` MOTD *formatting.Result `json:"motd"` ProtocolVersion *int64 `json:"protocol_version"` Version *string `json:"version"` OnlinePlayers *int64 `json:"online_players"` MaxPlayers *int64 `json:"max_players"` ServerID *string `json:"server_id"` Gamemode *string `json:"gamemode"` GamemodeID *int64 `json:"gamemode_id"` PortIPv4 *uint16 `json:"port_ipv4"` PortIPv6 *uint16 `json:"port_ipv6"` SRVResult *SRVRecord `json:"srv_result"` }
type JavaStatus ¶
type JavaStatusLegacy ¶
type JavaStatusLegacy struct { Version *Version `json:"version"` Players LegacyPlayers `json:"players"` MOTD formatting.Result `json:"motd"` SRVResult *SRVRecord `json:"srv_result"` }
type LegacyPlayers ¶
type Players ¶
type Players struct { Max *int64 `json:"max"` Online *int64 `json:"online"` Sample []SamplePlayer `json:"sample"` }
type SamplePlayer ¶
Click to show internal directories.
Click to hide internal directories.