types

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 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

type Description struct {
	Text string `json:"text"`
}

type PlayerSample

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

type Players

type Players struct {
	Max    int `json:"max"`
	Online int `json:"online"`

	Sample []PlayerSample `json:"sample"`
}

type StatusResponse

type StatusResponse struct {
	Version     Version     `json:"version"`
	Players     Players     `json:"players"`
	Description Description `json:"description"`
	Favicon     string      `json:"favicon"`
}

type Version

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