storj/pkg/ranger
Alexander Leitner 900f67e3d0 Implement psclient interface (#107)
* Implement psclient interface

* Add string method to pieceID type

* try to fix linter errors

* Whoops missed an error

* More linter errors

* Typo

* Lol double typo

*  Get everything working, begin adding tests for psclient rpc

* goimports

* Forgot to change the piecestore cli when changed the piecestore code

* Fix CLI

* remove ID length, added validator to pieceID

* Move grpc ranger to client
Change client PUT api to take a reader rather than return a writer

* GRPCRanger -> PieceRanger; Make PieceRanger a RangeCloser

* Forgot to remove offset

* Added message upon successful store

* Do that thing dennis and kaloyan wanted

* goimports

* Make closeConn a part of the interface for psclient

* Use interface

* Removed uneccessary new lines

* goimport

* Whoops

* Actually we don't want to use the interface in Piece Ranger

* Renamed piecestore in examples to piecestore-client; moved piecestore-cli to examples

* Make comments look nicer
2018-06-27 21:42:54 +03:00
..
common.go pkg/ranger: fix linting errors 2018-04-11 08:05:41 -06:00
content.go Add context to Ranger.Range method (#99) 2018-06-19 18:59:09 +03:00
file_test.go Add context to Ranger.Range method (#99) 2018-06-19 18:59:09 +03:00
file.go renamed ranger.Closer -> ranger.RangeCloser 2018-04-30 10:49:04 -04:00
http_test.go Add context to Ranger.Range method (#99) 2018-06-19 18:59:09 +03:00
http.go Add context to Ranger.Range method (#99) 2018-06-19 18:59:09 +03:00
reader_test.go Use continue instead of return in table tests (#106) 2018-06-22 12:23:19 +03:00
reader.go Add context to Ranger.Range method (#99) 2018-06-19 18:59:09 +03:00
readerat.go Add context to Ranger.Range method (#99) 2018-06-19 18:59:09 +03:00