Initial Implementation of ResourceGuard Macro

This commit is contained in:
2024-02-24 19:03:48 -03:00
parent ef43c102aa
commit 077f69778f
15 changed files with 102 additions and 40 deletions

View File

@@ -1,11 +1,7 @@
mod route;
mod model;
mod handler;
use axum::http::{
header::{ACCEPT, AUTHORIZATION, CONTENT_TYPE},
HeaderValue, Method
};
mod interceptor;
mod model;
mod route;
#[tokio::main]
async fn main() {
@@ -14,4 +10,4 @@ async fn main() {
println!("🚀 Server started successfully");
let listener = tokio::net::TcpListener::bind("0.0.0.0:8500").await.unwrap();
axum::serve(listener, app).await.unwrap();
}
}