Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Debug bool `yaml:"debug"` Server ServerConfiguration `yaml:"server"` Scrape ScrapeConfiguration `yaml:"scrape"` Database DBConfiguration `yaml:"database"` Tado TadoConfiguration `yaml:"tado"` SolarEdge SolarEdgeConfiguration `yaml:"solarEdge"` }
func LoadFromFile ¶
func LoadFromFile(filename string) (config *Configuration, err error)
type DBConfiguration ¶
type ScrapeConfiguration ¶
type ServerConfiguration ¶
type SolarEdgeConfiguration ¶
type SolarEdgeConfiguration struct {
Token string `yaml:"token"`
}
type TadoConfiguration ¶
Click to show internal directories.
Click to hide internal directories.