Documentation ¶
Index ¶
- Variables
- func Communicate(onData func(interface{}), onError func(error)) error
- func Connect() (*gousb.InEndpoint, *gousb.OutEndpoint, func(), error)
- func Init() error
- func ReceiveMessage(epIn *gousb.InEndpoint, ctx context.Context) (interface{}, error)
- func SendData(data interface{}) error
- func SendMessage(epOut *gousb.OutEndpoint, msg interface{}) error
- func Start(width, height, fps, dpi int32)
Constants ¶
This section is empty.
Variables ¶
View Source
var Done func()
Functions ¶
func Communicate ¶
func Connect ¶
func Connect() (*gousb.InEndpoint, *gousb.OutEndpoint, func(), error)
func ReceiveMessage ¶
func ReceiveMessage(epIn *gousb.InEndpoint, ctx context.Context) (interface{}, error)
func SendMessage ¶
func SendMessage(epOut *gousb.OutEndpoint, msg interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.