bossbar

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BossBar

type BossBar struct {
	// contains filtered or unexported fields
}

func New

func New(text ...any) BossBar

func (BossBar) Colour

func (bar BossBar) Colour() Colour

func (BossBar) HealthPercentage

func (bar BossBar) HealthPercentage() float64

func (BossBar) Text

func (bar BossBar) Text() string

func (BossBar) WithColour

func (bar BossBar) WithColour(c Colour) BossBar

func (BossBar) WithHealthPercentage

func (bar BossBar) WithHealthPercentage(v float64) BossBar

type Colour

type Colour struct {
	// contains filtered or unexported fields
}

func Blue

func Blue() Colour

func Green

func Green() Colour

func Pink

func Pink() Colour

func Purple

func Purple() Colour

func RebeccaPurple

func RebeccaPurple() Colour

func Red

func Red() Colour

func White

func White() Colour

func Yellow

func Yellow() Colour

func (Colour) Uint8

func (c Colour) Uint8() uint8

Jump to

Keyboard shortcuts

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