Registry / networking / libp2p-go-libp2p-peerstore

libp2p-go-libp2p-peerstore

JSON →
library0.8.0gogounverified

Package peerstore provides a storage interface for libp2p peer information.

go get github.com/libp2p/go-libp2p-peerstore
INSTALL
IMPORT
SIG · LIBP2P-GO-LIBP2P-P
L
libp2p-go-libp2p-peerstore
networkinggov0.8.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.

peerstore
github.com/libp2p/go-libp2p-peerstore

Create a new peerstore instance

package main import ( "fmt" "github.com/libp2p/go-libp2p-peerstore" ) func main() { ps := peerstore.NewPeerstore() fmt.Println(ps) }
Debug
Known issues
breakingThis package is deprecated and has moved to go-libp2p as a sub-package.
fix
Use 'github.com/libp2p/go-libp2p/p2p/host/peerstore' instead.
affects: >=0.8.0
Upgrade
Version history
0.8.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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