db

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectOpts

type ConnectOpts struct {
	URL    string
	Token  string
	Org    string
	Bucket string
}

type ConnectionDetails

type ConnectionDetails struct {
	Err     error
	Name    string
	Version string
	Commit  string
}

type InfluxClient

type InfluxClient struct {
	URL string
	// contains filtered or unexported fields
}

func NewInfluxClient

func NewInfluxClient(opts ConnectOpts) *InfluxClient

func (*InfluxClient) Close

func (c *InfluxClient) Close()

func (*InfluxClient) ValidateConn

func (c *InfluxClient) ValidateConn(timeout time.Duration) (update ConnectionDetails)

Jump to

Keyboard shortcuts

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