dyson_http 0.1.1

Dyson HTTP API Support Crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod docs;
pub mod error;
use axum;
use axum::routing::get;
use axum::Router;

pub fn health_check_routes() -> Router {
    Router::new()
        .route(
            "/actuator/health",
            get(|| async { "OK" }),
        )
}