influxdb

package
v0.0.0-...-52be9fe Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxDB

type InfluxDB struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewInfluxDB

func NewInfluxDB(cfg *viper.Viper, logger *logging.Logger) *InfluxDB

NewInfluxDB returns a new instance of influxdb time series database. It implements the ObjectListener interface thus It will store the states objects monitored.

func (*InfluxDB) GetValues

func (i *InfluxDB) GetValues(item item.Item) [][]interface{}

func (*InfluxDB) OnValueChange

func (i *InfluxDB) OnValueChange(it item.Item, old string, new string)

func (*InfluxDB) Watch

func (i *InfluxDB) Watch(item item.Item)

type Point

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

Jump to

Keyboard shortcuts

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