influxdb

package
v0.0.0-...-f4b51b0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 1 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 {
	Addr     string `yaml:"addr"`
	Username string `yaml:"username"`
	Password string `yaml:"password"`
	Database string `yaml:"database"`
}

type InfluxDB

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

func New

func New(cfg *Config) (*InfluxDB, error)

func (*InfluxDB) Close

func (i *InfluxDB) Close()

func (*InfluxDB) Query

func (i *InfluxDB) Query(q string) (*client.Response, error)

Jump to

Keyboard shortcuts

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