frostfs-api-go/pkg
Alex Vanin 9401724b9c [#246] pkg/client: Use io.Reader wrapper at object put
Object payload transferred in chunks. Size of the
chunks may be limited by transport protocols. To
split it we use `io.CopyBuffer` with pre-allocated
buffer size of one chunk. However this function may
ignore buffer if reader or writer implements
`WriteTo` or `ReadFrom` methods. Unfortunately
`bytes.Reader` implements `WriteTo` function.

To fix this we wrap reader so wrapper implements
only `io.Reader` interface.

Related to github.com/nspcc-dev/neofs-node/issues/338

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-01-25 13:25:52 +03:00
..
accounting [#199] sdk/accounting: Rename test file package 2020-11-16 18:51:14 +03:00
acl [#217] pkg/eacl: Change interface for working with keys on Target and Record 2020-12-01 10:11:32 +03:00
audit [#235] v2/audit: Regenerate protobuf 2020-12-25 16:20:34 +03:00
client [#246] pkg/client: Use io.Reader wrapper at object put 2021-01-25 13:25:52 +03:00
container [#194] pkg/container: Implement container constructor with format check 2020-12-24 12:54:53 +03:00
netmap [#243] Fix exhaustive linter errors 2021-01-12 18:22:07 +03:00
object [#231] object/search: Implement method to add search filter by type 2020-12-25 16:20:26 +03:00
owner [#199] sdk/owner: Correct linter's remarks 2020-11-16 18:51:14 +03:00
storagegroup [#230] pkg: Implement storage group type with basic methods 2020-12-25 16:20:26 +03:00
token [#199] sdk/token: Correct linter's remarks 2020-11-16 18:51:14 +03:00
.gitkeep Implement new request signing mechanism 2020-09-18 10:40:45 +03:00
checksum.go [#230] pkg: Implement string encode/decode methods on Checksum 2020-12-25 16:20:26 +03:00
checksum_test.go [#230] pkg: Implement string encode/decode methods on Checksum 2020-12-25 16:20:26 +03:00
signature.go [#197] sdk: Rename getters of Signature type 2020-11-16 11:52:21 +03:00
signature_test.go [#168] refs: Implement binary/JSON encoders/decoders on Signature 2020-11-13 18:07:26 +03:00
version.go [#236] Fix SDK minor version number 2020-12-24 10:35:33 +03:00
version_test.go [#236] Fix SDK minor version number 2020-12-24 10:35:33 +03:00
xheader.go [#198] sdk: Implement XHeader type 2020-11-16 12:44:37 +03:00
xheader_test.go [#198] sdk: Implement XHeader type 2020-11-16 12:44:37 +03:00