metrics

package
v0.0.0-...-1b48180 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChargerStateCollector

type ChargerStateCollector struct {
	// contains filtered or unexported fields
}

func NewChargerStateCollector

func NewChargerStateCollector(charger string) *ChargerStateCollector

func (*ChargerStateCollector) Collect

func (c *ChargerStateCollector) Collect(ch chan<- prometheus.Metric)

func (*ChargerStateCollector) Describe

func (c *ChargerStateCollector) Describe(ch chan<- *prometheus.Desc)

func (*ChargerStateCollector) UpdateState

func (c *ChargerStateCollector) UpdateState(state *easee.ChargerState)

Jump to

Keyboard shortcuts

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