2018-12-08 13:55:54 +00:00
|
|
|
//use failure::*;
|
|
|
|
//use std::collections::HashMap;
|
2018-12-08 13:44:55 +00:00
|
|
|
|
2019-04-16 10:07:02 +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
|
|
|
|
2018-12-09 10:59:32 +00:00
|
|
|
pub mod datastore;
|
2018-12-08 13:44:55 +00:00
|
|
|
|
|
|
|
pub fn router() -> Router {
|
|
|
|
|
|
|
|
let route = Router::new()
|
2019-04-16 10:07:02 +00:00
|
|
|
.subdir("datastore", datastore::router())
|
|
|
|
.list_subdirs();
|
2018-12-08 13:44:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
route
|
|
|
|
}
|