code: func New(ctx context.Context, next http.Handler, confCircuitBreaker config.CircuitBreaker, name string) (http.Handler, error) {
  	expression := confCircuitBreaker.Expression
  
  	logger := middlewares.GetLogger(ctx, name, typeName)
  	logger.Debug("Creating middleware")
  	logger.Debug("Setting up with expression: %s", expression)
  
  	oxyCircuitBreaker, err := cbreaker.New(next, expression, createCircuitBreakerOptions(expression))
  	if err != nil {
  		return nil, err
  	}
  	return &circuitBreaker{
  		circuitBreaker: oxyCircuitBreaker,
  		name:           name,
  	}, nil
  }
docs: // New creates a new circuit breaker middleware.