pretty

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatppuccinAdaptiveTheme

type CatppuccinAdaptiveTheme struct {
	Light catppuccin.Flavour
	Dark  catppuccin.Flavour
}

func (*CatppuccinAdaptiveTheme) Base

func (*CatppuccinAdaptiveTheme) Blue

func (*CatppuccinAdaptiveTheme) Crust

func (*CatppuccinAdaptiveTheme) Flamingo

func (*CatppuccinAdaptiveTheme) Green

func (*CatppuccinAdaptiveTheme) Lavender

func (*CatppuccinAdaptiveTheme) Mantle

func (*CatppuccinAdaptiveTheme) Maroon

func (*CatppuccinAdaptiveTheme) Mauve

func (*CatppuccinAdaptiveTheme) Name

func (t *CatppuccinAdaptiveTheme) Name() string

func (*CatppuccinAdaptiveTheme) Overlay0

func (*CatppuccinAdaptiveTheme) Overlay1

func (*CatppuccinAdaptiveTheme) Overlay2

func (*CatppuccinAdaptiveTheme) Peach

func (*CatppuccinAdaptiveTheme) Pink

func (*CatppuccinAdaptiveTheme) Red

func (*CatppuccinAdaptiveTheme) Rosewater

func (*CatppuccinAdaptiveTheme) Sapphire

func (*CatppuccinAdaptiveTheme) Sky

func (*CatppuccinAdaptiveTheme) Subtext0

func (*CatppuccinAdaptiveTheme) Subtext1

func (*CatppuccinAdaptiveTheme) Surface0

func (*CatppuccinAdaptiveTheme) Surface1

func (*CatppuccinAdaptiveTheme) Surface2

func (*CatppuccinAdaptiveTheme) Teal

func (*CatppuccinAdaptiveTheme) Text

func (*CatppuccinAdaptiveTheme) Yellow

type Handler

type Handler struct {
	Logger     *log.Logger
	Theme      *CatppuccinAdaptiveTheme
	ExtraTags  []string
	NameWidth  int
	ValueWidth int
}

func (*Handler) New

func (h *Handler) New() messages.OutputHandler

func (*Handler) StyledMetricName added in v0.5.0

func (h *Handler) StyledMetricName(metric messages.DogStatsDMetric, width int) string

func (*Handler) StyledMetricType added in v0.5.0

func (h *Handler) StyledMetricType(metric messages.DogStatsDMetric) string

func (*Handler) StyledMetricValue added in v0.5.0

func (h *Handler) StyledMetricValue(metric messages.DogStatsDMetric, width int) string

func (*Handler) StyledTags added in v0.5.0

func (h *Handler) StyledTags(metric messages.DogStatsDMetric, extraTags []string) string

Jump to

Keyboard shortcuts

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