proxmox-backup/src/api2/config.rs

18 lines
283 B
Rust
Raw Normal View History

2018-12-08 13:55:54 +00:00
//use failure::*;
//use std::collections::HashMap;
2018-12-08 13:44:55 +00:00
//use crate::api_schema;
2019-02-17 08:59:20 +00:00
use crate::api_schema::router::*;
2018-12-08 13:44:55 +00:00
pub mod datastore;
2018-12-08 13:44:55 +00:00
pub fn router() -> Router {
let route = Router::new()
.subdir("datastore", datastore::router())
.list_subdirs();
2018-12-08 13:44:55 +00:00
route
}