package
0.13.0
Repository: https://github.com/tencentblueking/influxdb.git
Documentation: pkg.go.dev

# Functions

NewBatchPoints returns a BatchPoints interface based on the given config.
NewHTTPClient returns a new Client from the provided config.
NewPoint returns a point with the given timestamp.
NewPointFrom returns a point from the provided models.Point.
NewQuery returns a query object database and precision strings can be empty strings if they are not needed for the query.
NewUDPClient returns a client interface for writing to an InfluxDB UDP service from the given config.

# Constants

UDPPayloadSize is a reasonable default payload size for UDP packets that could be travelling over the internet.

# Structs

BatchPointsConfig is the config data needed to create an instance of the BatchPoints struct.
HTTPConfig is the config data needed to create an HTTP Client.
Message represents a user message.
Point represents a single data point.
Query defines a query to send to the server.
Response represents a list of statement results.
Result represents a resultset returned from a single statement.
UDPConfig is the config data needed to create a UDP Client.

# Interfaces

BatchPoints is an interface into a batched grouping of points to write into InfluxDB together.
Client is a client interface for writing & querying the database.