orbit-db-gateway

command module
v0.0.0-...-6215ed3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2022 License: AGPL-3.0 Imports: 17 Imported by: 0

README

go-orbit-db-gateway

Server start

go run .

Data insert to orbit db

POST http://localhost:8001/ipfs/paste

  • example response
{
    "content": "test content",
    "project": "example project"
}

Data get from orbit db

GET http://localhost:8001/ipfs/get/{id}

  • example response
{
    "content": "test content",
    "date": "2022-08-24 15:34:40",
    "id": "d4c03a84-2376-11ed-b61b-3ccd36628b4c",
    "project": "example project"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL