Registry / networking / libp2p-go-mplex

libp2p-go-mplex

JSON →
library0.7.0gogounverified

A Go implementation of the mplex stream multiplexer for libp2p.

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

mplex
github.com/libp2p/go-mplex

Create a multiplexed stream over a connection.

package main import ( "github.com/libp2p/go-mplex" "net" ) func main() { conn, _ := net.Dial("tcp", "localhost:9000") mp := multiplex.NewMultiplex(conn, nil) stream, _ := mp.NewStream() stream.Write([]byte("hello")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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