FrostFS API Golang repository contains implementation of core FrostFS structures that can be used for integration with FrostFS.
c01024b553
In previous implementation Target provided Keys/SetKeys methods which allowed working with ECDSA keys. There was also a bug in the NewTargetFromV2 function when the binary key differed in format from the ECDSA key. New BinaryKeys/SetBinaryKeys methods work with binary keys. To work with ECDSA keys added functions TargetECDSAKeys/SetTargetECDSAKeys. Old methods are left and marked deprecated. Type Record provided an interface for adding a Target by Role and a list of ECDSA keys. New SetTargets method allows to set the list of Target's, AddTarget function allows to add a single Target. AddFormedTarget works like old AddTarget method, which is now deprecated. Signed-off-by: Leonard Lyubich <leonard@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 |
Contributing
Feel free to contribute to this project after reading the contributing guidelines.
Before starting to work on a certain topic, create an 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