qserver

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseHostname added in v0.1.48

func ParseHostname(address string, hostname string) string

Types

type GenericServer

type GenericServer struct {
	Address   string             `json:"address"`
	Version   qversion.Version   `json:"version"`
	Clients   []qclient.Client   `json:"clients"`
	Settings  qsettings.Settings `json:"settings"`
	Geo       geo.Location       `json:"geo"`
	ExtraInfo struct {
		QtvStream qtvstream.QtvStream `json:"qtv_stream"`
	} `json:"extra_info"`
}

func (GenericServer) Players added in v0.1.39

func (server GenericServer) Players() []qclient.Client

func (GenericServer) Spectators added in v0.1.39

func (server GenericServer) Spectators() []qclient.Client

Jump to

Keyboard shortcuts

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