ad326fa290
Allows runnning a store node depending on node config settings. |
||
---|---|---|
.. | ||
LICENSE | ||
README.md | ||
deadline.go | ||
multiplex.go | ||
stream.go | ||
version.json |
README.md
go-mplex
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