Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
A Selector is capable of matching devices in a device info list.
func Class ¶
func Class(matcher StringMatcher) Selector
Class returns a selector that matches device class names.
func Description ¶
func Description(matcher StringMatcher) Selector
Description returns a selector that matches device descriptions.
func FriendlyName ¶
func FriendlyName(matcher StringMatcher) Selector
FriendlyName returns a selector that matches device descriptions and friendly names.
func ID ¶
func ID(matcher StringMatcher) Selector
ID returns a selector that matches device hardware identifiers.
type StringMatcher ¶
StringMatcher is a function capable of matching strings.
Click to show internal directories.
Click to hide internal directories.