Registry / networking / libp2p-go-libp2p-peer

libp2p-go-libp2p-peer

JSON →
library0.2.0gogounverified

Deprecated: use github.com/libp2p/go-libp2p-core/peer instead.

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

peer
github.com/libp2p/go-libp2p-peer

Creates a peer ID (deprecated).

package main import ( "fmt" "github.com/libp2p/go-libp2p-peer" ) func main() { fmt.Println(peer.ID("test")) }
Debug
Known issues
breakingThis package is deprecated; use github.com/libp2p/go-libp2p-core/peer instead.
fix
Replace import with github.com/libp2p/go-libp2p-core/peer.
affects: >=0.0.0
Upgrade
Version history
0.2.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-peer — go get libp2p-go-libp2p-peer · libregistry