Documentation ¶
Overview ¶
Separate package to for hardware/evend related config structure. Ugly workaround to import cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Cup struct { TimeoutSec int `hcl:"timeout_sec"` } `hcl:"cup"` Elevator struct { KeepaliveMs int `hcl:"keepalive_ms"` MoveTimeoutSec int `hcl:"move_timeout_sec"` } `hcl:"elevator"` Espresso struct { TimeoutSec int `hcl:"timeout_sec"` } `hcl:"espresso"` Hopper struct { RunTimeoutMs int `hcl:"run_timeout_ms"` } `hcl:"hopper"` Mixer struct { KeepaliveMs int `hcl:"keepalive_ms"` MoveTimeoutSec int `hcl:"move_timeout_sec"` ShakeTimeoutMs int `hcl:"shake_timeout_ms"` } `hcl:"mixer"` Valve struct { // TODO TemperatureCold int `hcl:"temperature_cold"` TemperatureHot int `hcl:"temperature_hot"` TemperatureValidMs int `hcl:"temperature_valid_ms"` PourTimeoutSec int `hcl:"pour_timeout_sec"` CautionPartMl int `hcl:"caution_part_ml"` } `hcl:"valve"` }
Click to show internal directories.
Click to hide internal directories.