12 lines
205 B
Rust
12 lines
205 B
Rust
use actix_web::{Scope, web};
|
|
|
|
pub mod auth;
|
|
mod stats;
|
|
mod users;
|
|
|
|
pub fn web() -> Scope {
|
|
web::scope("/v1")
|
|
.service(stats::res)
|
|
.service(auth::web())
|
|
.service(users::web())
|
|
}
|