Registry / config / ipfs-go-ipfs-config

ipfs-go-ipfs-config

JSON →
library0.19.0gogounverified

Implements the IPFS configuration file data structures and utilities.

go get github.com/ipfs/go-ipfs-config
INSTALL
IMPORT
SIG · IPFS-GO-IPFS-CONFI
I
ipfs-go-ipfs-config
configgov0.19.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.

config
github.com/ipfs/go-ipfs-config

Initializes a new IPFS configuration and prints the peer ID.

package main import ( "fmt" "github.com/ipfs/go-ipfs-config" ) func main() { cfg, err := config.Init(os.Stdout, 2048) if err != nil { panic(err) } fmt.Println(cfg.Identity.PeerID) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
1
Resources
ipfs-go-ipfs-config — go get ipfs-go-ipfs-config · libregistry