Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceReceive ¶
type DeviceReceive struct { ID string `json:"id"` Key string `json:"key"` Notify bool `json:"notify"` SmokerRead *SmokerRead TemperatureRead *TemperatureRead }
type DeviceSend ¶
type DeviceSend struct { ID string `json:"id"` Device interface{} `json:"device"` }
type SmokerRead ¶
SmokerRead ... This struct is the next level device for a Smoker. It possesses a threshole and a current reading.
type SmokerWrite ¶
SmokerWrite ... This struct sends a command to the Smoker.Device
type TemperatureRead ¶
type TemperatureRead struct {
Reading float32 `json:"reading"`
}
TemperatureRead ... Handles marshalling of temperature reading
Click to show internal directories.
Click to hide internal directories.