frostfs-api-go/pkg/client
Leonard Lyubich 6d531a07a5
[#313] client/object: Always return number of bytes read from Get stream (#316)
Fix failure to comply with a requirement of stdlib `io.Reader` docs: `When
Read encounters an error or end-of-file condition after successfully reading
n > 0 bytes, it returns the number of bytes read.`

Prepare a platform for unit tests and test the affected case.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-23 14:15:58 +03:00
..
accounting.go [#277] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
client.go [#196] pkg/client: Extend Client interface with Conn method 2021-05-31 10:13:00 +03:00
container.go [#295] pkg: Remove usage of deprecated elements 2021-06-01 08:04:12 +03:00
netmap.go [#277] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
object.go [#313] client/object: Always return number of bytes read from Get stream (#316) 2021-06-23 14:15:58 +03:00
object_test.go [#313] client/object: Always return number of bytes read from Get stream (#316) 2021-06-23 14:15:58 +03:00
opts.go [#290] client: Add WithURIAddress option 2021-06-02 15:55:20 +03:00
raw.go [#196] pkg/client: Extend Client interface with Conn method 2021-05-31 10:13:00 +03:00
reputation.go [#277] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
session.go [#295] pkg: Remove usage of deprecated elements 2021-06-01 08:04:12 +03:00