code: func (api *API) RegisterGRPC(srv *grpc.Server) {
  	if api.enableAdmin {
  		pb.RegisterAdminServer(srv, NewAdmin(api.db))
  	} else {
  		pb.RegisterAdminServer(srv, &AdminDisabled{})
  	}
  }
docs: // RegisterGRPC registers all API services with the given server.