Registry / networking / libp2p-go-libp2p-swarm

libp2p-go-libp2p-swarm

JSON →
library0.11.0gogounverified

Deprecated swarm implementation for libp2p; moved to github.com/libp2p/go-libp2p/p2p/net/swarm.

go get github.com/libp2p/go-libp2p-swarm
INSTALL
IMPORT
SIG · LIBP2P-GO-LIBP2P-S
L
libp2p-go-libp2p-swarm
networkinggov0.11.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.

swarm
github.com/libp2p/go-libp2p-swarm

Create a new swarm (deprecated)

package main import ( "fmt" swarm "github.com/libp2p/go-libp2p-swarm" ) func main() { fmt.Println(swarm.NewSwarm(nil, nil)) }
Debug
Known issues
breakingThis package is deprecated and has been moved.
fix
Use github.com/libp2p/go-libp2p/p2p/net/swarm instead.
affects: >=0.11.0
Upgrade
Version history
0.11.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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