1 2 3 4 5 6 7 8
//! Health check routes; the billing //! interface declares each operation's contract. use crate::{api::controllers::health, registrations::{AppState, Routes}}; pub fn mount(routes: Routes, state: &AppState) -> Routes { routes .route("getHealth", health::get_health(state)) }