use actix_web::{get, web, HttpResponse, Scope}; /// Simple ping #[get("/ping")] async fn ping() -> HttpResponse { HttpResponse::Ok().finish() } pub fn service() -> Scope { web::scope("/liveops").service(ping) }