I do not know the level of connectivity that you plan to have in your cluster, but the transition of the RPC packet makes communication between nodes trivial. Most likely, this will be the basis of your work, and you can create abstractions on top of it (for example, if you need multicast requests to different nodes). The examples in this document assume that your nodes will communicate via HTTP, but this bit is abstracted into net / rpc to allow various transports.
http://golang.org/pkg/net/rpc/
Kelly norton
source share