Documentation ¶
Overview ¶
Package influx provides helper functions for parsing InfluxDB client configurations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server string `json:"server"` Database string `json:"database"` Username string `json:"username"` Password string `json:"password"` }
Config holds a Influx client configuration
func LoadConfig ¶
LoadConfig parses a InfluxDB client configuration from a simple JSON file
Click to show internal directories.
Click to hide internal directories.