code: func (srv *Projects) List(c context.Context, req *projects.ListRequest) (*projects.ListResponse, error) {
  	rsp := &projects.ListResponse{}
  	// TODO(smut): Handle page tokens.
  	if req.GetPageToken() != "" {
  		return rsp, nil
  	}
  	srv.cfg.Range(func(_, val interface{}) bool {
  		rsp.Projects = append(rsp.Projects, val.(*projects.Config))
  		return true
  	})
  	return rsp, nil
  }
docs: // List handles a request to list all projects.