Projects‎ > ‎

RPC Server in Go

Go has a generic RPC interface which supports any protocol.  JSON-RPC and "gobs" are supported natively.  See these examples to help you implement an RPC server in Go.

Go doesn't have good support for SQL-based databases yet, so for this project you won't need to use SQL.  Instead, make a random number generator service with the following RPC methods:
  • RandomInteger(max)
  • RandomFloat()
Go's rpc and rand packages will make this easy.