influxdb

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

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

func New

func New(connURL string) (*Exporter, error)

func (*Exporter) Errors

func (e *Exporter) Errors() <-chan error

func (*Exporter) RecordPoint

func (e *Exporter) RecordPoint(name string, tags map[string]string, fields map[string]interface{}, updatedAt time.Time) error

func (*Exporter) SetElectricStatus added in v0.2.0

func (e *Exporter) SetElectricStatus(vehicleID string, es mercedes.ElectricStatus)

func (*Exporter) SetFuelStatus

func (e *Exporter) SetFuelStatus(vehicleID string, fs mercedes.FuelStatus)

func (*Exporter) SetLockStatus

func (e *Exporter) SetLockStatus(vehicleID string, ls mercedes.LockStatus)

func (*Exporter) SetPayAsYouGo

func (e *Exporter) SetPayAsYouGo(vehicleID string, p mercedes.PayAsYouDriveInsurance)

func (*Exporter) SetVehicleStatus

func (e *Exporter) SetVehicleStatus(vehicleID string, vs mercedes.VehicleStatus)

Jump to

Keyboard shortcuts

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