code: func AddMiddleware(configuration *config.HTTPConfiguration, middlewareName string, middleware *config.Middleware) bool {
  	if _, ok := configuration.Middlewares[middlewareName]; !ok {
  		configuration.Middlewares[middlewareName] = middleware
  		return true
  	}
  
  	return reflect.DeepEqual(configuration.Middlewares[middlewareName], middleware)
  }
docs: // AddMiddleware Adds a middleware to a configurations.