status

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: MIT Imports: 19 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bedrock

func Bedrock(ctx context.Context, hostname string, port uint16, options ...options.StatusBedrock) (*response.StatusBedrock, error)

Bedrock retrieves the status of a Bedrock Edition Minecraft server.

func Legacy

func Legacy(ctx context.Context, hostname string, port uint16, options ...options.StatusLegacy) (*response.StatusLegacy, error)

Legacy retrieves the status of any Java Edition Minecraft server, but with reduced properties compared to Modern().

func Modern

func Modern(ctx context.Context, hostname string, port uint16, options ...options.StatusModern) (*response.StatusModern, error)

Modern retrieves the status of any 1.7+ Minecraft server.

func ModernRaw

func ModernRaw(ctx context.Context, hostname string, port uint16, options ...options.StatusModern) (map[string]interface{}, error)

ModernRaw returns the raw status data of any 1.7+ Java Edition Minecraft server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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