Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2021 v1.0.0 Oct 27, 2019 Changes in this version + type Device struct + ClaimAll bool + ClaimInterfaces bool + Logger Logger + func (d *Device) Close() error + func (d *Device) Interface(usbInterfaceNum int) (*Port, error) + func (d *Device) Interfaces() (map[int]*Port, error) + func (d *Device) Open(Vid, Pid int) error + func (d *Device) Reset() error + func (d *Device) String() string + type Logger interface + Printf func(format string, part ...interface{}) + type Port struct + func (i *Port) Close() error + func (i *Port) Read(buf []byte) (int, error) + func (i *Port) String() string + func (i *Port) Write(buf []byte) (int, error)