package
0.0.0-20240518210513-250b5a5c2cad
Repository: https://github.com/nathan-osman/nutsvc.git
Documentation: pkg.go.dev

# Functions

New creates a new Monitor instance.

# Constants

ActionHibernate causes the system to enter hibernation.
ActionNothing doesn't do anything.
ActionShutdown causes a system shutdown to occur.
KeyAction is used to store the intended action after the wait period.
KeyWaitSeconds indicates how long to wait after power loss before initiating the specified action.

# Structs

Monitor connects to a NUT endpoint and monitors it.