// WithStatusCodeDown sets an HTTP status code that will be used for responses
// where the system is considered to be unavailable ("down").
// Default is HTTP status code 503 (Service Unavailable).
WithStatusCodeDown sets an HTTP status code that will be used for responses
where the system is considered to be unavailable ("down").
Default is HTTP status code 503 (Service Unavailable).
// WithStatusCodeDown sets an HTTP status code that will be used for responses // where the system is considered to be unavailable ( " down " ) . // Default is HTTP status code 503 ( Service Unavailable ) .
func WithStatusCodeDown(httpStatus int) HandlerOption {
	return func(cfg *handlerConfig) {
		cfg.statusCodeDown = httpStatus
	}
}
func WithStatusCodeDown ( httpStatus int ) HandlerOption { return func ( cfg * handlerConfig ) { cfg . statusCodeDown = httpStatus } }
WithStatusCodeDown sets an HTTP status code that will be used for responses
where the system is considered to be unavailable ("down").
WithStatusCodeDown sets an HTTP status code that will be used for responses where the system is considered to be unavailable ( " down " ) .