func RegisterName(name string, rcvr interface{}) error { return rpcplus.RegisterName(name, rcvr) }
func rpcHandler(repo *FormationRepo) http.Handler { rpcplus.RegisterName("Controller", &ControllerRPC{formations: repo}) return rpc.New(rpcplus.DefaultServer) }