Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ButtonPressed ¶
type ButtonPressed struct {
ID int
}
type EventSource ¶
type EventSource interface {
Loop(quit <-chan struct{}, events chan<- Event)
}
type Pins ¶
type Pins interface { EventSource Init(hwConf *config.HardwareConf) error Cleanup() GetRelay(id int) bool SetRelay(id int, on bool) }
type Sensors ¶
type Sensors interface { EventSource Init(hwConf *config.HardwareConf) error }
type TemperatureError ¶
type TemperatureRead ¶
Click to show internal directories.
Click to hide internal directories.