confium_verify_server/
lib.rs1pub mod handlers;
6
7pub use handlers::{AppState, VerifySignatifRequest};
8
9pub fn router() -> axum::Router {
11 axum::Router::new()
12 .route(
13 "/verify/composite",
14 axum::routing::post(handlers::verify_composite),
15 )
16 .route(
17 "/verify/signatif",
18 axum::routing::post(handlers::verify_signatif),
19 )
20 .route(
21 "/verify/inclusion",
22 axum::routing::post(handlers::verify_inclusion),
23 )
24 .route("/healthz", axum::routing::get(handlers::healthz))
25 .with_state(AppState)
26}