This commit is contained in:
Akizon77
2025-04-11 17:26:34 +08:00
commit c2a9148d4c
14 changed files with 705 additions and 0 deletions

11
monitoring/uptime.go Normal file
View File

@@ -0,0 +1,11 @@
package monitoring
import (
"github.com/shirou/gopsutil/host"
)
func Uptime() (uint64, error) {
return host.Uptime()
}