mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
9 lines
161 B
Rust
9 lines
161 B
Rust
use axum::{routing::get, Router};
|
|
|
|
async fn list_users() -> &'static str {
|
|
"[]"
|
|
}
|
|
|
|
fn app() -> Router {
|
|
Router::new().route("/users", get(list_users))
|
|
}
|