Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceAddedFunc ¶
type DeviceAddedFunc func(device *hotplug.HotplugDeviceInfo)
type DeviceRemovedFunc ¶
type DeviceRemovedFunc func(device *hotplug.HotplugDeviceInfo)
type EnumerationDoneFunc ¶
type EnumerationDoneFunc func()
type Interface ¶
func New ¶
func New(added DeviceAddedFunc, removed DeviceRemovedFunc, enumerationDone EnumerationDoneFunc) Interface
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor monitors kernel uevents making it possible to find hotpluggable devices.
func (*Monitor) EventsChannel ¶
Click to show internal directories.
Click to hide internal directories.