Registry / networking / mdlayher-apcupsd

mdlayher-apcupsd

JSON →
library0.0.0-20230802135538-48f5030bcd58gogounverified

Package apcupsd provides a client for the apcupsd Network Information Server (NIS).

go get github.com/mdlayher/apcupsd
INSTALL
IMPORT
SIG · MDLAYHER-APCUPSD
M
mdlayher-apcupsd
networkinggov0.0.0-20230802135538-48f5030bcd58
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

apcupsd
github.com/mdlayher/apcupsd

Connect to apcupsd and retrieve UPS status.

import "github.com/mdlayher/apcupsd" func main() { client, err := apcupsd.Dial("127.0.0.1:3551") if err != nil { panic(err) } status, err := client.Status() if err != nil { panic(err) } println(status.UPSName) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230802135538-48f5030bcd58latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
mdlayher-apcupsd — go get mdlayher-apcupsd · libregistry