forked from TrueCloudLab/frostfs-api-go
FrostFS API Golang repository contains implementation of core FrostFS structures that can be used for integration with FrostFS.
9401724b9c
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> |
||
---|---|---|
.github | ||
docs | ||
pkg | ||
util | ||
v2 | ||
.gitattributes | ||
.gitignore | ||
.golangci.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
CREDITS.md | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
prepare.sh | ||
README.md |
Golang SDK for NeoFS
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