FrostFS API Golang repository contains implementation of core FrostFS structures that can be used for integration with FrostFS.
Find a file
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
.github cicd: Update GH Actions setup 2020-09-22 10:18:45 +03:00
docs Remove docs from neofs-api 2020-09-18 10:40:30 +03:00
pkg [#246] pkg/client: Use io.Reader wrapper at object put 2021-01-25 13:25:52 +03:00
util [#233] proto: Implement functions for fixed64 protobuf data type 2020-12-25 16:20:34 +03:00
v2 [#243] Fix ineffassign linter errors 2021-01-12 18:22:07 +03:00
.gitattributes Simplify Makefile 2020-09-18 11:25:32 +03:00
.gitignore Simplify Makefile 2020-09-18 11:25:32 +03:00
.golangci.yml [#243] Update linter config 2021-01-12 18:22:07 +03:00
CHANGELOG.md Update changelog for release v1.22.1 2021-01-15 17:02:35 +03:00
CONTRIBUTING.md Minor typo fixes 2020-12-30 12:35:03 +03:00
CREDITS.md Add credits and contribution guide 2020-09-18 11:25:43 +03:00
go.mod [#191] Recompile latest neofs-api repository 2020-11-11 10:35:34 +03:00
go.sum [#191] Recompile latest neofs-api repository 2020-11-11 10:35:34 +03:00
LICENSE change license 2020-04-10 09:22:35 +03:00
Makefile Minor typo fixes 2020-12-30 12:35:03 +03:00
prepare.sh Update structure with grpc subdir 2020-09-18 10:40:48 +03:00
README.md Minor typo fixes 2020-12-30 12:35:03 +03:00

NeoFS

Golang SDK for NeoFS


Go codecov Report GitHub release GitHub license

Overview

Go implementation of recent NeoFS API versions and SDK layer working with all of them in a handy way.

NeoFS-API compatibility

neofs-api-go version supported NeoFS-API versions
< v1.20.0 (unsupported) up to v1.2.0
v1.20.x v2.0.2
v1.21.x v2.1.0
v1.22.x v2.2.0

Contributing

Feel free to contribute to this project after reading the contributing guidelines.

Before starting to work on a certain topic, create a new issue first, describing the feature/topic you are going to implement.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details