Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMissingURL = errors.New("missing URL")
)
Functions ¶
func NewHTTPClient ¶
func NewHTTPClient(config *HTTPConfig) (*httpClient, error)
Types ¶
type HTTPConfig ¶
type InfluxDB ¶
type InfluxDB struct { URLs []string `toml:"urls"` Token string `toml:"token"` Organization string `toml:"organization"` Bucket string `toml:"bucket"` BucketTag string `toml:"bucket_tag"` Timeout internal.Duration `toml:"timeout"` HTTPHeaders map[string]string `toml:"http_headers"` HTTPProxy string `toml:"http_proxy"` UserAgent string `toml:"user_agent"` ContentEncoding string `toml:"content_encoding"` UintSupport bool `toml:"influx_uint_support"` tls.ClientConfig // contains filtered or unexported fields }
func (*InfluxDB) Description ¶
func (*InfluxDB) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.