Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Uptime ¶
Uptime reads system uptime from /proc/uptime and returns the number of seconds since last system boot.
func UptimeFromFile ¶
UptimeFromFile reads system uptime information from filepath and returns the number of seconds since last system boot.
Types ¶
type UptimeFuncType ¶
UptimeFuncType cleans up function arguments or return type.
Click to show internal directories.
Click to hide internal directories.