The 'mbxchan' package provides an easy communication between distributed Go
applications using standard Go channels.

This functionality is implemented through named Mailboxes (MBX).
These Mailboxes provide unidirectional inter-process communication
many-to-one). Each Mailbox has a unique name.

In the following example we send "Hello" from one process to another:

Sending side:

     outch, err := mbxchan.MakeClientChan("mybox")
     outch <- []byte("Hello")

Receiving side:

     inch, err := mbxchan.MakeServerChan("mybox", "HTTP");
     body, ok <- inch
     fmt.Printf("%s\n", string(body))

The transport type is: "HTTP" | "TCP" | "UDP" | "WEBSOCKET"
Only "HTTP" is currently implemented.

The package could be found on: http://bitbucket.org/levarnon/mbx
See also 'mbxchan' link in http://code.google.com/p/go-wiki/wiki/Projects

Comments are welcome.

You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
postedMay 15, '14 at 2:01p
activeMay 15, '14 at 2:01p

1 user in discussion

Saba lev: 1 post



site design / logo © 2021 Grokbase