stats

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const SystemdbName = "systemdb"

Variables

This section is empty.

Functions

func ShowMetricsAsText

func ShowMetricsAsText(w io.Writer, serverAddress string) error

ShowMetricsAsText ...

func ShowMetricsRaw

func ShowMetricsRaw(w io.Writer, serverAddress string) error

ShowMetricsRaw ...

func ShowMetricsVisually

func ShowMetricsVisually(serverAddress string) error

ShowMetricsVisually ...

Types

type Controller

type Controller interface {
	Render(*metrics)
	Resize()
}

Controller ...

type MetricsLoader

type MetricsLoader interface {
	Load() (*metrics, error)
}

MetricsLoader ...

type Statsui added in v0.7.0

type Statsui interface {
}

Statsui ...

type Tui added in v0.7.0

type Tui interface {
	TerminalDimensions() (int, int)
	Render(items ...ui.Drawable)
	Init() error
	Close()
	PollEvents() <-chan ui.Event
}

Tui ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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