// WithStatusCodeUp sets an HTTP status code that will be used for responses
// where the system is considered to be available ("up").
// Default is HTTP status code 200 (OK).
WithStatusCodeUp sets an HTTP status code that will be used for responses
where the system is considered to be available ("up").
Default is HTTP status code 200 (OK).
// WithStatusCodeUp sets an HTTP status code that will be used for responses // where the system is considered to be available ( " up " ) . // Default is HTTP status code 200 ( OK ) .
func WithStatusCodeUp(httpStatus int) HandlerOption {
	return func(cfg *handlerConfig) {
		cfg.statusCodeUp = httpStatus
	}
}
func WithStatusCodeUp ( httpStatus int ) HandlerOption { return func ( cfg * handlerConfig ) { cfg . statusCodeUp = httpStatus } }
WithStatusCodeUp sets an HTTP status code that will be used for responses
where the system is considered to be available ("up").
WithStatusCodeUp sets an HTTP status code that will be used for responses where the system is considered to be available ( " up " ) .