pub async fn health_handler() -> Json<Value>
Expand description
HTTP handler for health check operations.
Provides a simple health check endpoint for monitoring and load balancer health checks. Always returns a successful response with service status.
§Returns
Always returns 200 OK
with JSON containing:
- Service status (“healthy”)
- Current timestamp
- Service name
§Example
GET /health