Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevMgr ¶
func New ¶
func New(ctx context.Context, devs []*controller.Controller, mon *monitor.Monitor) *DevMgr
New returns a new device manager which will scan for devices until context is done.
func (*DevMgr) AllOnlineDevices ¶
AllOnlineDevices returns all devices we know about which are online.
func (*DevMgr) Device ¶
func (dm *DevMgr) Device(id string) (*controller.Controller, bool)
Device returns the device controller of the given id.
Click to show internal directories.
Click to hide internal directories.