(data-source-check-fn data-source)
(data-source-check-fn
data-source
{:keys [query-sql-params query-results-result-fn exception-result-fn]
:or {query-sql-params ["SELECT 1 AS up;"]
query-results-result-fn (fn [results] (salutem/healthy (first results)))
exception-result-fn (fn [exception]
(salutem/unhealthy
{:salutem/reason (failure-reason exception)
:salutem/exception exception}))}})
(failure-reason exception)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close