package
0.0.0-20170901142047-0caaa62d3e26
Repository: https://github.com/sqp/godock.git
Documentation: pkg.go.dev
# Functions
FormatIcon is a Quick-info display callback.
FormatRate format value to string, or nothing if 0.
GetDiskActivity returns activity information for configured disks.
GetNetActivity returns activity information for configured network interfaces.
NewIOActivity create a new data store for IO activity monitoring.
NewTextIcon creates a new paired value text renderer on icon quickinfo.
NewTextLabel creates a new paired value text renderer on icon label.
NewTextNil creates a dumb interface compatible with paired value text renderer.
NewVideoCard gets informations about the video card.
ProcessMemory returns the PSS (Proportional Set Size) for a given PID, expressed in KB.
# Constants
KernelDiskStats is the disk activity information source.
KernelNetStats is the network activity information source.
# Structs
IOActivity extract delta IO stats from stacking system counters.
RenderOne provides a simple icon/label text renderer with values in percent.
RenderPercent provides a simple icon/label text renderer with values in percent.
TextIcon renders a paired value text on icon quickinfo.
TextInfo defines the base data for a paired value text renderer.
TextLabel renders a paired value text on icon label.
TextNil provides a dumb interface compatible with a paired value text renderer.
Value define a counter value for the paired renderer.
VideoCard defines video card and drivers informations.
# Interfaces
ITextInfo is the interface for a paired value text renderer.
# Type aliases
FormatIO is a text format method for IOActivity.