Documentation ¶
Overview ¶
Package components implements specific widgets for the dashboard.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseGraph ¶
BaseGraph represents the widget with some usage graph.
func NewBaseGraph ¶
NewBaseGraph initializes BaseGraph.
type BaseSparklineGroup ¶
type BaseSparklineGroup struct { widgets.SparklineGroup // contains filtered or unexported fields }
BaseSparklineGroup represents the widget with some sparklines.
func NewBaseSparklineGroup ¶
func NewBaseSparklineGroup(title string, labels, dataLabels []string) *BaseSparklineGroup
NewBaseSparklineGroup initializes BaseSparklineGroup.
func NewDiskSparkline ¶
func NewDiskSparkline() *BaseSparklineGroup
NewDiskSparkline creates disk sparkline.
func NewNetSparkline ¶
func NewNetSparkline() *BaseSparklineGroup
NewNetSparkline creates network sparkline.
type LoadAvgInfo ¶
LoadAvgInfo represents the widget with load average info.
type ProcessTable ¶
ProcessTable represents the widget with process info.
func NewProcessTable ¶
func NewProcessTable() *ProcessTable
NewProcessTable initializes ProcessTable.
type SystemGauges ¶
SystemGauges quickly show CPU/mem load.
func (*SystemGauges) Draw ¶
func (widget *SystemGauges) Draw(buf *ui.Buffer)
Draw implements io.Drawable.
Click to show internal directories.
Click to hide internal directories.