// WithResultWriter is responsible for writing a health check result (see CheckerResult)
// into an HTTP response. By default, JSONResultWriter will be used.
WithResultWriter is responsible for writing a health check result
into an HTTP response. By default, JSONResultWriter will be used.
// WithResultWriter is responsible for writing a health check result ( see CheckerResult ) // into an HTTP response . By default JSONResultWriter will be used .
func WithResultWriter(writer ResultWriter) HandlerOption {
	return func(cfg *handlerConfig) {
		cfg.resultWriter = writer
	}
}
func WithResultWriter ( writer ResultWriter ) HandlerOption { return func ( cfg * handlerConfig ) { cfg . resultWriter = writer } }
WithResultWriter is responsible for writing a health check result
into an HTTP response.
WithResultWriter is responsible for writing a health check result into an HTTP response .