influxdb

package
v0.0.0-...-12c07fa Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfluxDBClient

func InfluxDBClient(measurement_name string, fields map[string]interface{}, tags map[string]string, conf string)

func InfluxDBConnect

func InfluxDBConnect(conf string) client.Client

Types

type Config

type Config struct {
	Url      string `json:"url"`
	DB       string `json:"database"`
	User     string `json:"user"`
	Password string `json:"password"`
	TlsCa    string `json:"tls_ca"`
	TlsCert  string `json:"tls_cert"`
	TlsKey   string `json:"tls_key"`
	Insecure bool   `json:"insecure_skip_verify"`
}

func LoadConfiguration

func LoadConfiguration(file string) Config

Jump to

Keyboard shortcuts

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