Michal Iskierko 6d31343205 feat: Waku v2 bridge
Issue #12610
2024-02-22 17:07:59 +01:00
..
2024-02-22 17:07:59 +01:00
2024-02-22 17:07:59 +01:00
2024-02-22 17:07:59 +01:00
2024-02-22 17:07:59 +01:00
2024-02-22 17:07:59 +01:00
2024-02-22 17:07:59 +01:00

go-mplex

Go Reference Discourse posts

A super simple stream muxing library implementing mplex.

Usage

mplex := multiplex.NewMultiplex(mysocket)

s, _ := mplex.NewStream()
s.Write([]byte("Hello World!"))
s.Close()

os, _ := mplex.Accept()
// echo back everything received
io.Copy(os, os)

The last gx published version of this module was: 0.2.35: QmWGQQ6Tz8AdUpxktLf3zgnVN9Vy8fcWVezZJSU3ZmiANj