Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceState ¶
type DeviceState struct { Id int64 `json:"id"` Status *m.DeviceState `json:"status"` Options interface{} `json:"options"` ElementName string `json:"element_name"` }
type Devices ¶
type Devices struct { sync.Mutex Total int64 `json:"total"` DeviceStats map[string]*DeviceState `json:"device_stats"` // contains filtered or unexported fields }
func (*Devices) BroadcastOne ¶
func (*Devices) GetDevicesStates ¶
only on request: 'map.get.devices.states'
Click to show internal directories.
Click to hide internal directories.