influxdb

package
v0.0.0-...-a119dda Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 5 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 NewClient

func NewClient() *Client

NewClient initializes and returns a new InfluxDB client.

func (*Client) Close

func (c *Client) Close()

Close closes the InfluxDB client connection.

func (*Client) WriteData

func (c *Client) WriteData(operation string, fileSize int, duration time.Duration, speed float64)

WriteData writes performance data to InfluxDB.

Jump to

Keyboard shortcuts

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