Pierre HUBERT
184a106542
All checks were successful
continuous-integration/drone/push Build is passing
9 lines
237 B
Rust
9 lines
237 B
Rust
use crate::controllers::HttpResult;
|
|
use crate::virtweb_client;
|
|
use actix_web::HttpResponse;
|
|
|
|
/// Get current system status
|
|
pub async fn status() -> HttpResult {
|
|
Ok(HttpResponse::Ok().json(virtweb_client::get_server_info().await?))
|
|
}
|