ups

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAuthenticationFailed  = errors.New("failed to authenticate to NUT server")
	ErrFailureAuthenticating = errors.New("an error occurred during authentication to NUT server")
	ErrConnectionFailed      = errors.New("could not connect to NUT server")
)

Functions

func GetJSON

func GetJSON(ns *entity.NutServer) (string, error)

Types

type UPS

type UPS struct {
	nut.Client
}

Jump to

Keyboard shortcuts

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