common

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoldColor = color.RGB(255, 170, 0)
View Source
var RedColor = color.RGB(255, 85, 85)

Functions

func ColorBool

func ColorBool(b bool) string

func ColorPing

func ColorPing(ping time.Duration) string

func ColorPingRaw

func ColorPingRaw(ping time.Duration) string

func ColorString

func ColorString(clr color.Color, format string, a ...any) string

func GoldString

func GoldString(format string, a ...any) string

func RedString

func RedString(format string, a ...any) string

func Sequence

func Sequence(*color.Color) string

Types

type Options

type Options struct {
	Port            uint16
	Bedrock         bool
	DnsInfo         bool
	Details         bool
	ProtocolVersion int16
	EulaBlockCheck  bool
}

Jump to

Keyboard shortcuts

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