Documentation
¶
Index ¶
- Constants
- type InfoBar
- func (info *InfoBar) Draw(screen tcell.Screen)
- func (info *InfoBar) UpdateBasicInfo(hostname string, kernel string, ostype string)
- func (info *InfoBar) UpdateConnStatus(status bool)
- func (info *InfoBar) UpdateJava(version string)
- func (info *InfoBar) UpdateSystemUsageInfo(memUsage float64, swapUsage float64)
Constants ¶
View Source
const ( InfoBarViewHeight = 5 SearchBarViewHeight = 2 )
InfoBarViewHeight info bar height
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfoBar ¶
InfoBar implements the info bar primitive
func (*InfoBar) Draw ¶
func (info *InfoBar) Draw(screen tcell.Screen)
Draw draws this primitive onto the screen.
func (*InfoBar) UpdateBasicInfo ¶
UpdateBasicInfo updates hostname, kernel and os type values
func (*InfoBar) UpdateConnStatus ¶
UpdateConnStatus updates connection status value
func (*InfoBar) UpdateJava ¶
UpdateJava updates aws identity values
func (*InfoBar) UpdateSystemUsageInfo ¶
UpdateSystemUsageInfo updates memory and swap values
Click to show internal directories.
Click to hide internal directories.