influxdbclient

package
v0.0.0-...-6f193cf Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Influx

type Influx struct {
	Client influxdb2.Client
}

Influx struct used to mantain the influx client

func NewClient

func NewClient() Influx

NewClient return a instance of InfluxDB

func (*Influx) Send

func (i *Influx) Send(t interface{}, field, value string)

Send metrics to influx

Jump to

Keyboard shortcuts

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