Documentation
¶
Index ¶
Constants ¶
View Source
const ( SLP_Version17 = 0 SLP_Version16 = 1 SLP_Version15 = 2 SLP_VersionBeta = 3 )
Variables ¶
This section is empty.
Functions ¶
func NewCheckMinecraftStatusTask ¶
func NewCheckMinecraftStatusTask() *checkMinecraftStatusTask
func NewFetchMinecraftPlayersTask ¶ added in v0.2.0
func NewFetchMinecraftPlayersTask() *fetchMinecraftPlayersTask
Types ¶
type Stats ¶ added in v0.6.0
type Stats struct {
Version struct {
Name string `json:"name"`
Protocol int `json:"protocol"`
} `json:"version"`
Players struct {
Max int `json:"max"`
Online int `json:"online"`
Sample []struct {
Name string `json:"name"`
Id string `json:"id"`
} `json:"sample"`
} `json:"players"`
Description map[string]any `json:"description"`
Favicon string `json:"favicon"`
EnforcesSecureChat bool `json:"enforcesSecureChat"`
}
Click to show internal directories.
Click to hide internal directories.