Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
type Devices ¶
type Devices struct { Devices *serverprotocol.Devices `inject:""` Nodes *serverprotocol.Nodes `inject:""` Router *websocket.Router `inject:""` Clients *websocket.Clients `inject:""` }
Devices contains the websocket handler for devices
func (*Devices) SendSingleDevice ¶
func (d *Devices) SendSingleDevice(device interface{})
SendSingleDevice sends an update to webgui clients with a single device update
type Nodes ¶
type Nodes struct { Nodes *serverprotocol.Nodes `inject:""` Router *websocket.Router `inject:""` Clients *websocket.Clients `inject:""` }
func (*Nodes) RunCommand ¶
func (*Nodes) SendAllNodes ¶
func (wh *Nodes) SendAllNodes()
func (*Nodes) SendDisconnectedNode ¶
func (*Nodes) SendSingleNode ¶
type Rules ¶
type Schedule ¶
type Schedule struct { Scheduler *logic.Scheduler `inject:""` Router *websocket.Router `inject:""` Clients *websocket.Clients `inject:""` }
func (*Schedule) SchedulerAddTask ¶
func (*Schedule) SchedulerEditTask ¶
func (*Schedule) SchedulerRemoveTask ¶
Click to show internal directories.
Click to hide internal directories.