influxv2

package
v0.0.0-...-ded853b Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func Connect

func Connect(options Options) (*Client, error)

func (*Client) Send

func (influxClient *Client) Send(thing Influxable)

type Influxable

type Influxable interface {
	Tags() map[string]string
	Fields() map[string]interface{}
	Category() string
}

type Options

type Options struct {
	Bucket       string
	Organization string
	Server       string
	Token        string
}

Jump to

Keyboard shortcuts

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