domain-status 0.2.1

Concurrent URL status checker that captures comprehensive metadata in SQLite.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Health check handler for orchestrators and reverse proxies.

use axum::{
    http::StatusCode,
    response::{IntoResponse, Response},
};

/// Returns 200 OK when the status server is up. No shared state required.
/// Useful for Kubernetes liveness probes, load balancers, or reverse proxies.
pub async fn health_handler() -> Response {
    (StatusCode::OK, "ok").into_response()
}