Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *viper.Viper `yaml:"-"` Debug bool `yaml:"debug"` DataDir string `yaml:"data_dir"` Broker mqtt.BrokerConfig `yaml:"broker"` BrokerCloud mqtt.BrokerConfig `yaml:"broker_cloud"` Display Display `yaml:"display"` Web Web `yaml:"web"` GPS GPS `yaml:"gps"` Car Car `yaml:"car"` Solar Solar `yaml:"solar"` Battery Battery `yaml:"battery"` Environment Environment `yaml:"env"` Modem Modem `yaml:"modem"` }
Config contains the main configuration
type Display ¶
type Display struct { Port string `yaml:"port"` Pins struct { DC string `yaml:"dc"` Reset string `yaml:"reset"` Next string `yaml:"next"` } Pages []DisplayPage `yaml:"pages"` }
type DisplayPage ¶
type Environment ¶
type Environment struct{}
Click to show internal directories.
Click to hide internal directories.