Registry / networking / libp2p-go-libp2p-protocol

libp2p-go-libp2p-protocol

JSON →
library0.1.0gogounverified

Provides protocol negotiation and selection for libp2p connections.

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

protocol
github.com/libp2p/go-libp2p-protocol

Demonstrates creating and printing a protocol ID.

package main import ( "fmt" "github.com/libp2p/go-libp2p-protocol" ) func main() { p := protocol.ID("/test/1.0.0") fmt.Println(p) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.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-protocol — go get libp2p-go-libp2p-protocol · libregistry