pcuptime

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2024 License: Unlicense Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUptime

func CheckUptime(durationInSeconds int) (bool, error)

CheckUptime checks if the system uptime is less than a specified duration in seconds.

func GetUptimeInSeconds

func GetUptimeInSeconds() (int, error)

GetUptimeInSeconds returns the system uptime in seconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL