blob: a58e4b3c7c2b87a0ebf0daece5277e4b6b561d47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only
pub mod structures;
use rocket_contrib::json::Json;
use crate::api::routes::stats::structures::Statistics;
#[get("/statistics")]
pub fn statistics() -> Json<Statistics> {
Json(Statistics {
message: "todo".to_string(),
})
}
|