Documentation
¶
Overview ¶
Package uptime provides UptimeView — a simple "up since" display showing days/hours/minutes/seconds elapsed from a fixed start time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UptimeView ¶
UptimeView paints "Dd HH:MM:SS" and refreshes every second.
func (*UptimeView) GetTypeID ¶
func (u *UptimeView) GetTypeID() string
GetTypeID for serial registry.
func (*UptimeView) SetStart ¶
func (u *UptimeView) SetStart(t time.Time)
SetStart resets the reference time.
Click to show internal directories.
Click to hide internal directories.