package
Version:
v0.0.0-...-2c269c1
Opens a new window with list of versions in this module.
Published: Jun 11, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
InfluxDB InfluxDB `yaml:"influxDB"`
TorontoHydro TorontoHydro `yaml:"torontoHydro"`
SleepDuration int `yaml:"sleepDuration"`
LookDaysInPast int `yaml:"lookDaysInPast"`
}
type InfluxDB struct {
URL string `yaml:"url"`
Token string `yaml:"token"`
Organization string `yaml:"organization"`
Bucket string `yaml:"bucket"`
}
type TorontoHydro struct {
Username string `yaml:"username"`
Password string `yaml:"password"`
Mock bool `yaml:"mock"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.