github.com/go-amqprpc/amqprpc (go): Project `amqprpc` provides access to the exported methods of an object across RabbitMQ connection. It is meant as a near drop-in implementation of TCP based built-in `net/rpc` package thus most of characteristics and limitations are kept intact. The major difference stems from the fact of using messaging queues for transport, one well defined queue for requests and a temporary queue established internally by a client for processing responses. The implementation is intended to follow to certain extent RabbitMQ tutorial http://www.rabbitmq.com/tutorials/tutorial-six-go.html  A simple example of a use-case adopted from "net/rpc" would look as follows using a queue based RPC:  A server wishes to export an object of type Arith:  The server calls for AMQP service:  At this point, clients can see a service "Arith" with methods "Arith.Multiply" and "Arith.Divide". To invoke one, a client first dials the server:  Then it can make a remote call:  // Synchronous call  or  // Asynchronous call
Keywords: amqp|rabbitmq-connection|rpc