Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Description ¶ added in v1.0.8
type Description struct {
Text string `json:"text"`
}
type PingResponse ¶
type PingResponse struct {
Payload int64
}
func (*PingResponse) PacketType ¶ added in v1.0.36
func (*PingResponse) PacketType() string
type PlayerSample ¶ added in v1.0.8
type Players ¶ added in v1.0.8
type Players struct {
Max uint `json:"max"`
Online uint `json:"online"`
Sample []PlayerSample
}
type Response ¶
type Response struct {
Version Version `json:"version"`
Players Players `json:"players"`
Description Description `json:"description"`
Favicon string `json:"favicon"`
EnforceSecureChat bool `json:"enforceSecureChat"`
}
func (*Response) PacketType ¶ added in v1.0.36
Click to show internal directories.
Click to hide internal directories.