api/router.rs: allow different types of api methods

Added a prototype for file/backup uploads.
This commit is contained in:
Dietmar Maurer
2019-01-14 12:26:04 +01:00
parent b41d1aab8c
commit 7e21da6e23
5 changed files with 133 additions and 25 deletions

View File

@ -21,9 +21,11 @@ pub mod api {
pub mod config;
}
#[macro_use]
pub mod server {
pub mod formatter;
#[macro_use]
pub mod rest;
}