influxdb

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Postprocessors struct {
		InfluxDB struct {
			Url          string `mapstructure:"url"`
			BatchSize    uint   `mapstructure:"batch-size"`
			AuthToken    string `mapstructure:"auth-token"`
			Organization string `mapstructure:"organization"`
			Bucket       string `mapstructure:"bucket"`
		} `mapstructure:"influxdb"`
	} `mapstructure:"postprocessors"`
}

type InfluxDB

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

func CreateFromConfig

func CreateFromConfig(ctx *context.Context) (*InfluxDB, error)

func (*InfluxDB) CarChannel

func (i *InfluxDB) CarChannel() chan<- state.CarState

func (InfluxDB) Process

func (i InfluxDB) Process()

func (*InfluxDB) RaceChannel

func (i *InfluxDB) RaceChannel() chan<- state.CourseState

Jump to

Keyboard shortcuts

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