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