metrics

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGaugeReader

func NewGaugeReader(g config.Gauge, r Reader) (func() float64, error)

TODO: tests

func Register

func Register(cc Reader, gauges []config.Gauge) error

Types

type Reader

type Reader interface {
	ReadUint16(address uint16) (uint16, error)
	Read(address uint16) ([]byte, error)
}

Jump to

Keyboard shortcuts

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