Create initial api
This commit is contained in:
parent
1fa926dd05
commit
f090fbafe7
7 changed files with 169 additions and 21 deletions
8
src/api/v1/mod.rs
Normal file
8
src/api/v1/mod.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
use actix_web::{web, Scope};
|
||||
|
||||
mod stats;
|
||||
|
||||
pub fn web() -> Scope {
|
||||
web::scope("/v1")
|
||||
.service(stats::res)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue