Documentation ¶
Index ¶
- type Actuators
- type Client
- func (c *Client) ExposeSensorsOnHTTP(w http.ResponseWriter, r *http.Request)
- func (c *Client) GetActuators() *Actuators
- func (c *Client) GetSensors() *Sensors
- func (c *Client) HandleWebsocketConnection()
- func (c *Client) InitializeSensorsValues() error
- func (c *Client) SetValue(dev, circuit string, value float64) error
- type Device
- type Sensors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Sensors Sensors Actuators Actuators // contains filtered or unexported fields }
func (*Client) ExposeSensorsOnHTTP ¶
func (c *Client) ExposeSensorsOnHTTP(w http.ResponseWriter, r *http.Request)
func (*Client) GetActuators ¶
func (*Client) GetSensors ¶
func (*Client) HandleWebsocketConnection ¶
func (c *Client) HandleWebsocketConnection()
func (*Client) InitializeSensorsValues ¶
Click to show internal directories.
Click to hide internal directories.