move src/api/server.rs -> src/server/rest.rs
This commit is contained in:
parent
e4dc0a14ac
commit
083418619e
|
@ -5,7 +5,7 @@ use std::sync::Arc;
|
||||||
use apitest::api::schema::*;
|
use apitest::api::schema::*;
|
||||||
use apitest::api::router::*;
|
use apitest::api::router::*;
|
||||||
use apitest::api::config::*;
|
use apitest::api::config::*;
|
||||||
use apitest::api::server::*;
|
use apitest::server::rest::*;
|
||||||
use apitest::getopts;
|
use apitest::getopts;
|
||||||
|
|
||||||
//use failure::*;
|
//use failure::*;
|
||||||
|
|
|
@ -19,7 +19,11 @@ pub mod api {
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod router;
|
pub mod router;
|
||||||
pub mod config;
|
pub mod config;
|
||||||
pub mod server;
|
}
|
||||||
|
|
||||||
|
pub mod server {
|
||||||
|
|
||||||
|
pub mod rest;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue