Commit Graph

5 Commits

Author SHA1 Message Date
Sebastian Zagrodzki
da849d96b5 Add context-aware read/write (#57)
Adds ReadContext/WriteContext methods to endpoints and to streams. Update rawread example tool to use ReadContext for implementation of "timeout" flag.
2018-11-05 15:33:31 +01:00
Cyrille Hemidy
593cfb67e9 fix mispell (#54)
* fix mispell

* update golint path in travis

* Golint requires Go 1.9 or later

* install golint only if go >=1.9

* exclude go 1.7 and go 1.8 for golint

* add build on go 1.10.x
2018-10-25 07:55:16 +10:00
zagrodzki
5c10dc8f4e Write stream implementation (#19)
Defines a WriteStream structure for buffering writes, similar to the existing ReadStream. WriteStreams can be created on OutEndpoints by using ep.NewStream().
2017-09-08 13:41:25 +02:00
Sebastian Zagrodzki
865b14439b WriteStream not used yet. 2017-05-06 02:56:37 +02:00
Sebastian Zagrodzki
5200a36191 Move files from gousb/usb to gousb 2017-05-06 00:11:11 +02:00