qstatus

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Countdown = "Countdown"
	Started   = "Started"
	Standby   = "Standby"
	Unknown   = "Unknown"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

func New added in v0.1.75

func New(status string, mode qmode.Mode, players []qclient.Client, freeSlots int) Status

func (Status) IsStandby added in v0.1.77

func (s Status) IsStandby() bool

func (Status) IsStarted added in v0.1.77

func (s Status) IsStarted() bool

func (Status) IsUnknown added in v0.1.77

func (s Status) IsUnknown() bool

Jump to

Keyboard shortcuts

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