query

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecrementPlayerCount

func DecrementPlayerCount()

DecrementPlayerCount decreases the global player count by 1.

func IncrementPlayerCount

func IncrementPlayerCount()

IncrementPlayerCount increases the global player count by 1.

func PlayerCount

func PlayerCount() int

PlayerCount returns the global player count of the proxy.

Types

type StatusProvider

type StatusProvider struct{}

StatusProvider represents a status provider that displays information based on the configuration file and an internal player count.

func (StatusProvider) ServerStatus

func (s StatusProvider) ServerStatus(_, _ int) minecraft.ServerStatus

ServerStatus ...

Jump to

Keyboard shortcuts

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