Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HIDRawDriver ¶
type HIDRawDriver struct {
// contains filtered or unexported fields
}
func (*HIDRawDriver) Close ¶
func (h *HIDRawDriver) Close()
func (*HIDRawDriver) Open ¶
func (h *HIDRawDriver) Open(filePath string) error
func (*HIDRawDriver) Read ¶
func (h *HIDRawDriver) Read() ([]byte, error)
func (*HIDRawDriver) Write ¶
func (h *HIDRawDriver) Write(payload []byte) error
type SystemDriver ¶
type SystemDriver interface { Open(filePath string) error Write(payload []byte) error Read() ([]byte, error) Close() }
func GetFileDriver ¶
func GetFileDriver(devPath string) (SystemDriver, error)
Click to show internal directories.
Click to hide internal directories.