package
1.3.5
Repository: https://github.com/silenceshell/influxdb.git
Documentation: pkg.go.dev

# Functions

NewConcurrencyLimiter returns a configured limiter that will ensure that calls to Increment will block if the max is hit.
NewDirective creates a new instance of a Directive with the appropriate state variable to change.
NewPackage creates a new package with the appropriate payload.
NewResponse creates a new instance of Response.
NewStressTest creates the backend for the stress test.
NewTestStressTest returns a StressTest to be used for testing Statements.
NewTracer returns a Tracer with tags attached.

# Constants

There are two package types, Write and Query.
There are two package types, Write and Query.

# Structs

ConcurrencyLimiter ensures that no more than a specified max number of goroutines are running.
Directive is a struct to enable communication between SetStatements and the stressClient backend Directives change state for the stress test.
Package is a struct to enable communication between InsertStatements, QueryStatements and InfluxQLStatements and the stressClient backend Packages carry either writes or queries in the []byte that makes up the Body.
Response holds data scraped from InfluxDB HTTP responses turned into a *influx.Point for reporting See reporting.go for more information The Tracer contains a wait group sent from the statement.
The StressTest is the Statement facing API that consumes Statement output and coordinates the test results.
The Tracer carrys tags and a waitgroup from the statements through the package life cycle.

# Type aliases

Type refers to the different Package types.