Skip to content
A port of maxogden's multiplex to go
Go JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
interop
.travis.yml farewell gx; thanks for serving us well. Apr 11, 2019
LICENSE add license Mar 22, 2016
README.md docs: update link to mplex spec Apr 24, 2019
codecov.yml ci: add travis, makefile, codecov Jun 9, 2018
deadline.go use pipe deadlines instead of contexts May 22, 2019
go.mod migrate to consolidated types. (#64) May 26, 2019
go.sum migrate to consolidated types. (#64) May 26, 2019
multiplex.go hack: disable write coalescing May 23, 2019
multiplex_test.go migrate to consolidated types. (#64) May 26, 2019
stream.go migrate to consolidated types. (#64) May 26, 2019

README.md

go-mplex

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

You can’t perform that action at this time.