Registry / networking / libp2p-go-libp2p-gostream

libp2p-go-libp2p-gostream

JSON →
library0.6.0gogounverified

Gostream provides a net.Conn and net.Listener implementation over libp2p streams, enabling standard Go networking with libp2p.

go get github.com/libp2p/go-libp2p-gostream
INSTALL
IMPORT
SIG · LIBP2P-GO-LIBP2P-G
L
libp2p-go-libp2p-gostream
networkinggov0.6.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.

gostream
github.com/libp2p/go-libp2p-gostream

Create a libp2p listener using gostream

package main import ( "fmt" "github.com/libp2p/go-libp2p" gostream "github.com/libp2p/go-libp2p-gostream" ) func main() { host, _ := libp2p.New() listener, _ := gostream.Listen(host, "/p2p/1.0.0") fmt.Println(listener.Addr()) }
Debug
Known issues

No known issues recorded.

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