forked from TrueCloudLab/frostfs-api-go
WIP: FrostFS API Golang repository contains implementation of core FrostFS structures that can be used for integration with FrostFS.
Evgenii Stratonikov
29f2157563
In protobuf 3.12 they have added an support for `optional` keyword, which has made it into the main branch in 3.15. https://github.com/protocolbuffers/protobuf/blob/main/docs/implementing_proto3_presence.md https://github.com/protocolbuffers/protobuf/blob/v3.12.0/docs/field_presence.md#presence-in-proto3-apis This means that without an explicit `optional` keyword field presence for scalars is not tracked, thus empty string in JSON should be unmarshaled to a nil byte slice. Relevant decoding code and tests from protojson: |
||
---|---|---|
.forgejo/workflows | ||
.github | ||
accounting | ||
acl | ||
ape | ||
apemanager | ||
container | ||
docs | ||
lock/grpc | ||
netmap | ||
object | ||
refs | ||
rpc | ||
session | ||
signature | ||
status | ||
tombstone | ||
util | ||
.gitattributes | ||
.gitignore | ||
.golangci.yml | ||
.pre-commit-config.yaml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
CREDITS.md | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
prepare.sh | ||
README.md |
Low-level Golang API for FrostFS
Overview
Go implementation of recent FrostFS API versions. For a more high-level SDK see FrostFS SDK.
Frostfs-Api compatibility
frostfs-api-go version | supported frostfs-api versions |
---|---|
v2.14.x | v2.14.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