nutclient

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect()

Connect to the NUT server

func Initialize

func Initialize()

Initialize hack until I can re-write the NUT library

Types

type Metric

type Metric struct {
	Topic   string
	Message string
}

Metric is exported

func Collect

func Collect(variables map[string]string) []Metric

Collect variables from connection

Jump to

Keyboard shortcuts

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