Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { BackendServers []string `toml:"backend-servers"` User string `toml:"user"` Pass string `toml:"pass"` // typically us-west | us-east // prepended to metrics Region string `toml:"region"` // typically develop | beta | prod // prepended to metrics Environment string `toml:"env"` ReadTimeout int `toml:"read-timeout"` MqttStoreMysql MysqlConfiguration `toml:"mqtt-store"` Mqtt MqttConfiguration `toml:"mqtt"` Influx InfluxConfiguration `toml:"influx"` Librato LibratoConfiguration `toml:"librato"` }
func LoadConfiguration ¶
func LoadConfiguration(fileName string) *Configuration
func (*Configuration) GetReadTimeout ¶
func (c *Configuration) GetReadTimeout() time.Duration
type InfluxConfiguration ¶
type LibratoConfiguration ¶
type MqttConfiguration ¶
type MysqlConfiguration ¶
Click to show internal directories.
Click to hide internal directories.