db

package
v0.0.0-...-d73a634 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INFLUX_TOKEN = "INFLUX_TOKEN"
	INFLUX_ORG   = "myorg"
	INFLUX_URL   = "http://localhost:8086"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Bucket      string
	Measurement string
	// contains filtered or unexported fields
}

func (*Client) Close

func (c *Client) Close()

func (*Client) Connect

func (c *Client) Connect()

func (*Client) Write

func (c *Client) Write(fields map[string]interface{}, t time.Time)

Jump to

Keyboard shortcuts

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