FrostFS API Golang repository contains implementation of core FrostFS structures that can be used for integration with FrostFS.
 
 
 
Go to file
Alex Vanin aa53fb7131 [#366] rpc/grpc: Perform read-write message operations with timeout
Remote gRPC server may not return or accept data for a while. gRPC
solves this issue with timeout in context. However, the context is
used for entire gRPC method invocation. Unfortunately the duration
of requests with streams can't be estimated easily.

To solve this issue we can specify timeouts for every message read
and write. Single message has size limit so timeout can be related
to that.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-12-28 12:49:31 +03:00
.github [#349] ci: Update linter 2021-10-07 11:00:37 +03:00
accounting Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
acl Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
audit Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
container Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
docs Update release instruction 2021-08-27 13:33:09 +03:00
netmap [#362] netmap: Add marshaling of the subnetID field of container policy 2021-12-01 16:45:23 +03:00
object Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
refs [#356] refs: Implement `Unmarshal` method on `SubnetID` 2021-11-24 17:13:18 +03:00
reputation Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
rpc [#366] rpc/grpc: Perform read-write message operations with timeout 2021-12-28 12:49:31 +03:00
session Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
signature Add `v2` version to go module name 2021-11-17 15:29:33 +03:00
status [#355] *: regenerate proto files 2021-11-18 15:04:15 +03:00
storagegroup Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
subnet [#355] subnet: Implement types for the new messages 2021-11-18 17:40:33 +03:00
tombstone Re-compile NeoFS API proto files using updated script 2021-11-17 15:29:33 +03:00
util [#361] Return proto file for stable marshal tests 2021-12-02 16:42:47 +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 [#349] ci: Update linter 2021-10-07 11:00:37 +03:00
CHANGELOG.md Release v2.11.0 - Sinjido (신지도, 薪智島) 2021-12-02 18:15:52 +03:00
CONTRIBUTING.md Minor typo fixes 2020-12-30 12:35:03 +03:00
CREDITS.md Release v1.26.0 - Daecheongdo (대청도, 大靑島) 2021-05-07 15:11:18 +03:00
LICENSE change license 2020-04-10 09:22:35 +03:00
Makefile [#364] Makefile: Remove deprecated -i flag 2021-12-02 16:27:25 +03:00
README.md Release v2.11.0 - Sinjido (신지도, 薪智島) 2021-12-02 18:15:52 +03:00
go.mod Add `v2` version to go module name 2021-11-17 15:29:33 +03:00
go.sum Add `v2` version to go module name 2021-11-17 15:29:33 +03:00
prepare.sh [#361] Do not remove stable marshal test file after API recompile 2021-12-02 16:42:47 +03:00

README.md

NeoFS

Golang SDK for NeoFS


Tests 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
v1.23.x v2.3.0
v1.24.x v2.4.0
v1.25.x v2.5.0
v1.26.x v2.6.0
v1.27.x v2.7.0
v1.28.x v2.8.0
v1.29.x v2.9.1
v1.30.x v2.10.0
v2.11.x v2.11.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