an example using go rpc