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

# Functions

NewConfig returns a new instance of a subscriber config.
NewHTTP returns a new HTTP points writer with default options.
NewHTTPS returns a new HTTPS points writer with default options and HTTPS configured.
NewService returns a subscriber service with given settings.
NewUDP returns a new UDP listener with default options.

# Constants

ALL indicates to send writes to all subscriber destinations.
ANY indicates to send writes to a single subscriber destination, round robin.
DefaultHTTPTimeout is the default HTTP timeout for a Config.
DefaultWriteBufferSize is the default write buffer size for a Config.
DefaultWriteConcurrency is the default write concurrency for a Config.

# Structs

Config represents a configuration of the subscriber service.
HTTP supports writing points over HTTP using the line protocol.
Service manages forking the incoming data from InfluxDB to defined third party destinations.
Statistics maintains the statistics for the subscriber service.
UDP supports writing points over UDP using the line protocol.

# Interfaces

PointsWriter is an interface for writing points to a subscription destination.

# Type aliases

BalanceMode specifies what balance mode to use on a subscription.