Documentation ¶
Overview ¶
Package temperaturesensor is used to define a temperature sensor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemperatureSensor ¶
type TemperatureSensor struct {
// contains filtered or unexported fields
}
TemperatureSensor represents a temperature sensor actor
func StartActor ¶
func StartActor() *TemperatureSensor
StartActor starts the actor and starts the action chan
func (*TemperatureSensor) GetTempReading ¶
func (temperatureSensor *TemperatureSensor) GetTempReading() gosmarthomecommon.TemperatureReading
GetTempReading gets the current temperature stored in the temperature sensor struct
Click to show internal directories.
Click to hide internal directories.