Registry / networking / libp2p-go-libp2p

libp2p-go-libp2p

JSON →
library6.0.23+incompatiblegogounverified

Package go-libp2p is the main entry point for the libp2p networking stack in Go.

go get github.com/libp2p/go-libp2p
INSTALL
IMPORT
SIG · LIBP2P-GO-LIBP2P
L
libp2p-go-libp2p
networkinggov6.0.23+incompatible
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.

libp2p
github.com/libp2p/go-libp2p

Create a new libp2p host

package main import ( "context" "github.com/libp2p/go-libp2p" ) func main() { host, err := libp2p.New() if err != nil { panic(err) } defer host.Close() _ = context.Background() }
Debug
Known issues
breakingVersion 6.0.23+incompatible uses an older major version scheme; newer versions may have breaking changes.
fix
Use the latest stable version (v0.x) for compatibility.
affects: >=6.0.0
Upgrade
Version history
6.0.23+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
libp2p-go-libp2p — go get libp2p-go-libp2p · libregistry