add go module to check server power and turn it off is there is no pwoer and ups is low [ci skip]

This commit is contained in:
Viktor Barzin 2025-03-09 19:15:29 +00:00
parent 2b2474c507
commit b9ea9cbaa2
7 changed files with 330 additions and 0 deletions

View file

@ -0,0 +1,12 @@
module viktorbarzin/server-lifecycle
go 1.22.0
toolchain go1.23.6
require (
github.com/gosnmp/gosnmp v1.39.0
github.com/nightlyone/lockfile v1.0.0
)
require github.com/golang/glog v1.2.4 // indirect