Registry / networking / ipfs-go-ipfs-api

ipfs-go-ipfs-api

JSON →
library0.7.0gogounverified

Package shell implements a remote API interface for a running IPFS daemon.

go get github.com/ipfs/go-ipfs-api
INSTALL
IMPORT
SIG · IPFS-GO-IPFS-API
I
ipfs-go-ipfs-api
networkinggov0.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

shell
github.com/ipfs/go-ipfs-api

Connect to a local IPFS daemon and add a file.

package main import ( "fmt" shell "github.com/ipfs/go-ipfs-api" ) func main() { sh := shell.NewShell("localhost:5001") cid, err := sh.Add(strings.NewReader("hello world")) if err != nil { panic(err) } fmt.Println(cid) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ipfs-go-ipfs-api — go get ipfs-go-ipfs-api · libregistry