influxdb

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxDbClient

type InfluxDbClient struct {
	InfluxdbOptions
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts *InfluxdbOptions) *InfluxDbClient

func (*InfluxDbClient) RunQuery

func (i *InfluxDbClient) RunQuery(query string) (*api.QueryTableResult, error)

func (*InfluxDbClient) SendToInfluxdb

func (i *InfluxDbClient) SendToInfluxdb(measurement string, ts time.Time, tags map[string]string, fields map[string]interface{})

type InfluxdbOptions

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

Jump to

Keyboard shortcuts

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