storj/pkg/storage/ec
Kaloyan Raev d8f1ec1db6
ECClient (#110)
* WIP ECClient

* Get returns RangeCloser

* Introduce RedundancyStrategy

* Constructor takes max buffer memory

* Remove unnecessary NopCloser wrapper

* Added telemetry

* Tests

* Adapt to PSClient from master

* Decode should report error if empty rrs map is passed

* collectErrors helper

* Move to /pkg/storage

* Move to /pkg/storage/ec

* Rename ecclient.go to client.go

* Better logging

* Rename ec.ECClient to ec.Client

* Fix some test execution

* Adopt Transport Client from master
2018-07-03 11:35:01 +03:00
..
client_test.go ECClient (#110) 2018-07-03 11:35:01 +03:00
client.go ECClient (#110) 2018-07-03 11:35:01 +03:00
common.go ECClient (#110) 2018-07-03 11:35:01 +03:00
psclient_mock_test.go ECClient (#110) 2018-07-03 11:35:01 +03:00
transportclient_mock_test.go ECClient (#110) 2018-07-03 11:35:01 +03:00