Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct {
IntrospectURL string `yaml:"introspect_url" envconfig:"BACKEND_INTROSPECT_URL"`
}
type Config ¶
type Config struct {
MQTT MQTT `yaml:"mqtt"`
MySQL MySQL `yaml:"mysql"`
Influx Influx `yaml:"influx"`
Settings Local `yaml:"settings"`
Common Common `yaml:"common"`
}
Config : structure to hold configuration
type Influx ¶
type Local ¶
type MQTT ¶
type MQTT struct {
HOST string `yaml:"host" envconfig:"MQTT_BROKER_HOST"`
PORT uint `yaml:"port" envconfig:"MQTT_BROKER_PORT"`
USER string `yaml:"user" envconfig:"MQTT_BROKER_USER"`
PASSWORD string `yaml:"password" envconfig:"MQTT_BROKER_PASSWORD"`
}
MQTT : structure to hold configuration
Click to show internal directories.
Click to hide internal directories.