storj/pkg/ranger
Kaloyan Raev 916e0b0ee0 gRPC Ranger (#44)
* Added piecestore

* gofmt

* Added requested changes

* Added cli

* Removed ranger because I wanted something that can stand alone

* Add example of http server using piece store

* Changed piecestore code to make it more optial for error handelling

* Merged with piecestore

* Added missing package

* Forgot io import

* gofmt

* gofmt

* Forgot io

* Make path by hash exported

* updated to simplify again whoops

* Updated server to work real good

* Forgot ampersand

* Updated to match FilePiece

* Merged in cam's delete code

* Remove unused io

* Added RPC code

* Give the download request a reader

* Removed http server stuff; changed receive stream to say io.reader

* Added expiration date to shardInfo

* gRPC Ranger

* Change all instances of Shard to Piece; change protobuf name; moved client insance to outside functions

* Adapt to latest changes in piece store rpc api

* added ttl info request

* Initialize grpcRanger type with named fields

* Move scripts to http server pr; added close method for Retrieve api

* added rpc server tests for getting piece meta data and retrieval routes

* Adapt to PieceStreamReader now being a ReadCloser

* Resolved linter errors, moved to prc server to pkg, updated go.mod to use latest protobuf

* Imported cams test

* Bump gometalinter deadline

* Adapt to package name changes

* Remove Garbage

* Adapt to latest changes in piece store rpc api

* NewCustomRoute constructor to allow mocking the gRPC client

* Name struct values in constructor.
2018-06-02 22:20:17 -06:00
..
common.go pkg/ranger: fix linting errors 2018-04-11 08:05:41 -06:00
content.go merge conflicts 2018-05-02 15:10:40 -04:00
file_test.go pkg/ranger: FileRanger (#18) 2018-04-23 20:16:34 -06:00
file.go renamed ranger.Closer -> ranger.RangeCloser 2018-04-30 10:49:04 -04:00
grpc_test.go gRPC Ranger (#44) 2018-06-02 22:20:17 -06:00
grpc.go gRPC Ranger (#44) 2018-06-02 22:20:17 -06:00
http_test.go Constructor for HTTP Ranger with known size (#43) 2018-05-14 14:34:08 -06:00
http.go Constructor for HTTP Ranger with known size (#43) 2018-05-14 14:34:08 -06:00
reader_test.go HTTP Ranger (#11) 2018-04-17 07:39:14 -06:00
reader.go renamed ranger.Closer -> ranger.RangeCloser 2018-04-30 10:49:04 -04:00
readerat.go HTTP Ranger (#11) 2018-04-17 07:39:14 -06:00