status

package
v1.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 0 Imported by: 0

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
}

type PlayerSample added in v1.0.8

type PlayerSample struct {
	Name string `json:"name"`
	ID   string `json:"id"`
}

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"`
}

type Version added in v1.0.8

type Version struct {
	Name     string `json:"name"`
	Protocol int    `json:"protocol"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL