code: func (r *Router) AddRoute(
  	serverType string,
  	routingFunction RoutingFunc,
  ) {
  	if _, ok := r.routesMap[serverType]; ok {
  		logger.Log.Warnf("overriding the route to svType %s", serverType)
  	}
  	r.routesMap[serverType] = routingFunction
  }
docs: // AddRoute adds a routing function to a server type