Skip to main content

ipfs

InterPlanetary File System(IPFS)

Project#

https://github.com/beyondstorage/go-service-ipfs

Config#

Storager#

Available Pairs#

NameRequiredComments
endpointYendpoint
work_dirNwork dir

Examples#

Init storager (see this page for details)

import (    _ "github.com/beyondstorage/go-service-ipfs"    "github.com/beyondstorage/go-storage/v4/services")
store, err := services.NewStoragerFromString("ipfs:///<work_dir>?endpoint=<ipfs_http_api_endpoint>") // endpoint example: http:127.0.0.1:5001if err != nil {    log.Fatalf("ipfs new service: %v", err)}

Implementation#

This service implements following interfaces: