code: func (rm *RouteManager) GetAll() ([]*Route, error) {
  	rm.Lock()
  	defer rm.Unlock()
  	routes := make([]*Route, 0)
  	for _, route := range rm.routes {
  		routes = append(routes, route)
  	}
  	return routes, nil
  }
docs: // GetAll returns all routes in the RouteManager