Commit graph

7 commits

Author SHA1 Message Date
Evrins Hu 5532b49f7e migrate to go mod 2020-07-13 14:18:10 +08:00
Zach Klippenstein 701ea3a245 Moved error definitions to an internal package, deleted the confusing util package.
Public API for error querying and formatting lives in top-level package.
2016-05-22 10:49:34 -07:00
Zach Klippenstein cb7e06bdb9 OpenRead will now return an error if the server returns an error when trying to open a file.
All sync status reads now also check for failure status,
using the same logic as the normal Scanner (the only difference
being that for normal scanners, length is encoded as a hex
string, but for sync scanners it's in binary little-endian).
2015-12-28 19:46:14 -08:00
Zach Klippenstein 164ab27d25 Implemented device event watcher and improved errors. 2015-07-19 12:45:24 -07:00
Zach Klippenstein 946c9e8ff8 Fixed scanner tests. 2015-07-19 06:43:13 -07:00
Zach Klippenstein d0b99d9f57 Parse more bits out of file modes in sync mode. 2015-04-28 14:25:36 -05:00
Zach Klippenstein 8d46dec61d Initial commit – wire format implementation and some host client commands. 2015-04-11 16:58:49 -07:00