Documentation
¶
Overview ¶
pcuptime.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUptime ¶
func CheckUptime(durationInSeconds int)
CheckUptime checks if the system uptime is less than a specified duration in seconds and prints a message.
func GetUptimeInSeconds ¶
func GetUptimeInSeconds() int
GetUptimeInSeconds returns the system uptime in seconds, predefined one is 1200 which is 20mins.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.