-
-
- FrostFS is a decentralized distributed object storage integrated with the NEO Blockchain. -
+# WIP area: this repo is just a fork! ---- -[](https://goreportcard.com/report/git.frostfs.info/TrueCloudLab/frostfs-http-gw) - - - -# FrostFS HTTP Gateway - -FrostFS HTTP Gateway bridges FrostFS internal protocol and HTTP standard. -- you can download one file per request from the FrostFS Network -- you can upload one file per request into the FrostFS Network - -See available routes in [specification](./docs/api.md). - -## Installation - -```go install git.frostfs.info/TrueCloudLab/frostfs-http-gw``` - -Or you can call `make` to build it from the cloned repository (the binary will -end up in `bin/frostfs-http-gw`). To build frostfs-http-gw binary in clean docker -environment, call `make docker/bin/frostfs-http-gw`. - -Other notable make targets: - -``` -dep Check and ensure dependencies -image Build clean docker image -dirty-image Build dirty docker image with host-built binaries -fmt Format the code -lint Run linters -version Show current version -``` - -Or you can also use a [Docker -image](https://git.frostfs.info/TrueCloudLab/-/packages/container/frostfs-http-gw) provided for the released -(and occasionally unreleased) versions of the gateway (`:latest` points to the -latest stable release). - -## Execution - -HTTP gateway itself is not a FrostFS node, so to access FrostFS it uses node's -gRPC interface and you need to provide some node that it will connect to. This -can be done either via `-p` parameter or via `HTTP_GW_PEERS_Filename | -OID | -Size | -Created | -Download | -
---|---|---|---|---|
- ⮐.. - | -- | - | - | - |
- ⮐.. - | -- | - | - | - |
- {{if .IsDir}} - 🗀 - - {{.FileName}}/ - - {{else}} - 🗎 - - {{.FileName}} - - {{end}} - | -{{.OID}} | -{{if not .IsDir}}{{ formatSize .Size }}{{end}} | -{{ .Created }} | -- {{ if .OID }} - - Link - - {{ end }} - | -