Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { ID string `json:"id"` Name string `json:"name"` Type string `json:"type"` Controller string `json:"controller"` Address string `json:"address"` Room struct { ID string `json:"id"` Name string `json:"name"` Devices []Device `json:"devices,omitempty"` } `json:"room,omitempty"` Token string `json:"token,omitempty"` }
Device : instance of a device
func GetDeviceInfo ¶
GetDeviceInfo returns the requested devices info and an optional error
Click to show internal directories.
Click to hide internal directories.