Files
komodo/periphery/src/api/mod.rs
2022-11-11 17:40:57 -05:00

13 lines
285 B
Rust

use axum::{routing::get, Router};
mod accounts;
mod container;
mod stats;
pub fn router() -> Router {
Router::new()
.nest("/container", container::router())
.nest("/stats", stats::router())
.route("/accounts/:account_type", get(accounts::get_accounts))
}