Registry / networking / whyrusleeping-yamux

whyrusleeping-yamux

JSON →
library1.2.0gogounverified

Provides a multiplexer for network connections, enabling multiple streams over a single TCP connection.

go get github.com/whyrusleeping/yamux
INSTALL
IMPORT
SIG · WHYRUSLEEPING-YAMU
W
whyrusleeping-yamux
networkinggov1.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.

yamux
github.com/whyrusleeping/yamux

Opens a yamux session and creates a stream over a TCP connection.

package main import ( "fmt" "github.com/whyrusleeping/yamux" "net" ) func main() { conn, _ := net.Dial("tcp", "example.com:80") session, _ := yamux.Client(conn, nil) stream, _ := session.Open() fmt.Println("Stream opened") stream.Close() }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
whyrusleeping-yamux — go get whyrusleeping-yamux · libregistry