status

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusEntry

type StatusEntry struct {
	Target      StatusTarget
	Online      bool
	HTTPStatus  int
	PingLatency time.Duration
}

type StatusTarget

type StatusTarget struct {
	Name string `koanf:"name"`
	Type string `koanf:"type"`
	Host string `koanf:"host"`
}

type StatusView

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

func New

func New() *StatusView

func (*StatusView) Primitive

func (l *StatusView) Primitive() tview.Primitive

func (*StatusView) Start

func (l *StatusView) Start()

func (*StatusView) Stop

func (l *StatusView) Stop()

func (*StatusView) Update

func (l *StatusView) Update() error

Jump to

Keyboard shortcuts

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