mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-07 11:22:36 +00:00
12 lines
387 B
Rust
12 lines
387 B
Rust
use crate::controllers::routes::RequestResult;
|
|
use crate::data::base_request_handler::BaseRequestHandler;
|
|
use crate::data::http_request_handler::HttpRequestHandler;
|
|
|
|
/// Main server controller
|
|
///
|
|
/// @author Pierre Hubert
|
|
|
|
/// Root server index
|
|
pub fn main_index(request: &mut HttpRequestHandler) -> RequestResult {
|
|
request.success("Comunic API server V3. (c) Pierre Hubert 2020")
|
|
} |