Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Host string `toml:"host"` Port uint16 `toml:"port"` MaxClients uint `toml:"max_clients"` IdleTimeout uint `toml:"idle_timeout"` LogLevel string `toml:"log_level"` OpenWeatherMap OpenWeatherMap HVAC HVAC PulseCounter PulseCounter WaterTank WaterTank }
type OpenWeatherMap ¶
type PulseCounter ¶
type WaterTank ¶
type WaterTank struct { Enabled bool `toml:"enabled"` MaxTankCapacity uint16 `toml:"max_tank_capacity"` MaxWaterLevel uint16 `toml:"max_water_level"` MinWaterLevel uint16 `toml:"min_water_level"` MaxWaterLevelAlarm uint16 `toml:"max_water_level_alarm"` DrainRate uint16 `toml:"drain_rate"` FillRate uint16 `toml:"fill_rate"` }
Click to show internal directories.
Click to hide internal directories.