It's nice to declare the interface for a RPC class and register it to make sure the server implements the interface correctly. See zk/zkocc_rpc.go for an example. That also allows to document the interface. Just a suggestion.