2026-01-26 01:32:58 -05:00

12 lines
297 B
Rust

use actix_web::{HttpResponse, Result, get};
use serde_json::json;
#[get("/health")]
pub async fn health_check() -> Result<HttpResponse> {
Ok(HttpResponse::Ok().json(json!({
"status": "ok",
"service": "calendar-microservice",
"timestamp": chrono::Utc::now()
})))
}