header

package
v0.49.104 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeaderComponent

type HeaderComponent struct {
	View          *tview.Flex
	StatsView     *tview.Table
	ShortcutsView *tview.Table
	LogoView      *tview.Table
	LastStats     dao.HostStats
	Logoless      bool
}

func NewHeaderComponent

func NewHeaderComponent(logoless bool) *HeaderComponent

func (*HeaderComponent) Update

func (h *HeaderComponent) Update(stats dao.HostStats, shortcuts []string)

func (*HeaderComponent) UpdateShortcuts

func (h *HeaderComponent) UpdateShortcuts(shortcuts []string)

Jump to

Keyboard shortcuts

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