Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerInfo ¶
type ServerInfo struct {
Status string `json:"status"`
Online bool `json:"online"`
Motd string `json:"motd"`
Players struct {
Max int `json:"max"`
Now int `json:"now"`
Sample []struct {
Name string `json:"name"`
ID string `json:"id"`
} `json:"sample"`
} `json:"players"`
Server struct {
Name string `json:"name"`
Protocol int `json:"protocol"`
} `json:"server"`
LastUpdated string `json:"last_updated"`
Duration string `json:"duration"`
}
Click to show internal directories.
Click to hide internal directories.