Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Create takes an influx.Client, and a create cmd in order to create objects in the influx db (it doesn't require a db argument like QueryDB)
Types ¶
type Config ¶
type Config struct { User string Password string URL string // contains filtered or unexported fields }
Config holds the requisite information to connect to an influx db instance prefix is an optional variable that is set via the Flags method, so as to distinguish between flags for different influxdb instances
func (*Config) Flags ¶
Flags configures the cli flags for the config. If more than one config is present for a program, it should be differentiated by a different prefix, so that the flag names don't collide
Click to show internal directories.
Click to hide internal directories.