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)
Click to show internal directories.
Click to hide internal directories.