Init
This commit is contained in:
15
src/network/http/mod.rs
Normal file
15
src/network/http/mod.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
use axum::Router;
|
||||
use crate::app::AppState;
|
||||
|
||||
mod server;
|
||||
mod router;
|
||||
mod middleware;
|
||||
mod web;
|
||||
mod error;
|
||||
mod context;
|
||||
|
||||
pub use server::HTTPServer;
|
||||
pub use error::HTTPError;
|
||||
pub use context::RequestContext;
|
||||
|
||||
pub type AppRouter = Router<AppState>;
|
||||
Reference in New Issue
Block a user