Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Players ¶
type Players struct { Online int `json:"online"` Max int `json:"max"` Sample []SamplePlayer `json:"sample,omitempty"` }
type SamplePlayer ¶
type ServerPing ¶
type ServerPing struct { Version Version `json:"version"` Players *Players `json:"players"` Description *component.Text `json:"description"` Favicon favicon.Favicon `json:"favicon,omitempty"` }
ServerPing is a 1.7 and above server list ping response.
func (*ServerPing) MarshalJSON ¶
func (p *ServerPing) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.