Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type USBMonitor ¶
type USBMonitor struct {
// contains filtered or unexported fields
}
func NewUSBMonitor ¶
func NewUSBMonitor() *USBMonitor
func (*USBMonitor) Kind ¶
func (m *USBMonitor) Kind() events.Kind
func (*USBMonitor) Start ¶
func (m *USBMonitor) Start(ctx context.Context) (<-chan *events.DeviceEvent, error)
func (*USBMonitor) Stop ¶
func (m *USBMonitor) Stop() error
Click to show internal directories.
Click to hide internal directories.