Health check implementations for TCP and HTTP protocols. Uses virtual threads for efficient concurrent checking.
Health check implementations for TCP and HTTP protocols. Uses virtual threads for efficient concurrent checking.
(check-http ip port path timeout-ms expected-codes)Perform an HTTP health check. Returns CheckResult with success/failure and latency.
Perform an HTTP health check. Returns CheckResult with success/failure and latency.
(check-https ip port path timeout-ms expected-codes)Perform an HTTPS health check. Returns CheckResult with success/failure and latency.
Perform an HTTPS health check. Returns CheckResult with success/failure and latency.
(check-tcp ip port timeout-ms)Perform a TCP connection health check. Returns CheckResult with success/failure and latency.
Perform a TCP connection health check. Returns CheckResult with success/failure and latency.
(failure-result error)(failure-result error message)Create a failed check result.
Create a failed check result.
(parse-target-id id)Parse a target ID back to IP and port.
Parse a target ID back to IP and port.
(perform-check health-check-config ip port)Perform a health check based on the configuration. Returns CheckResult.
Perform a health check based on the configuration. Returns CheckResult.
(success-result latency-ms)Create a successful check result.
Create a successful check result.
(target-id ip port)Create a unique identifier for a target.
Create a unique identifier for a target.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |