Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
[ANN] cmux: network connection mux in go
92 views
Skip to first unread message
Soheil Hassas Yeganeh
unread,
Jul 31, 2015, 3:12:31 PM
7/31/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com
Hello everyone,
I wrote a library that can be used to multiplex different services on the same port:
https://github.com/soheilhy/cmux
It basically sniffs incoming connections, matches their payloads against user-defined matchers, and multiplexes them accordingly. For each matcher it returns a "fake" `net.Listener` that receives only the matched `net.Conn`s.
Here is a brief intro:
https://medium.com/@soheilhy/multiplexing-connections-in-go-5f198dbc68e7
And a couple of examples:
http://godoc.org/github.com/soheilhy/cmux#pkg-examples
Thank you for your time.
Cheers,
Soheil
Reply all
Reply to author
Forward
0 new messages