influxif

package
v0.0.0-...-e7c921c Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxConfig

type InfluxConfig struct {
	HostAddress string
	Database    string
	Username    string
	Password    string
}

type InfluxIf

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

func NewClient

func NewClient(conf InfluxConfig) (*InfluxIf, error)

func (*InfluxIf) Close

func (inf *InfluxIf) Close()

func (*InfluxIf) SyncDatabase

func (inf *InfluxIf) SyncDatabase(data []thingsif.DbMessage) error

func (*InfluxIf) WriteStbToDatabase

func (inf *InfluxIf) WriteStbToDatabase(data *stbsource.StbWeather) error

func (*InfluxIf) WriteToDatabase

func (inf *InfluxIf) WriteToDatabase(data *thingsif.Message) error

Jump to

Keyboard shortcuts

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