proxmox-backup/src/api2/config.rs

14 lines
254 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 {
2019-10-26 09:36:01 +00:00
Router::new()
.subdir("datastore", datastore::router())
2019-10-26 09:36:01 +00:00
.list_subdirs()
2018-12-08 13:44:55 +00:00
}