feat: #12 remove rename handlers mod into http

This commit is contained in:
landrigun 2022-10-06 15:40:35 +00:00
parent 8049763b18
commit 495d57c403
4 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
//! message specs. see: https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages
//! NOTE: only few parts of the specification has been implemented
use crate::handlers::request::{HTTPRequest, HTTPVersion};
use crate::http::request::{HTTPRequest, HTTPVersion};
use async_trait::async_trait;
use json;
// add the Store trait to be used by `FileStore`

View File

@ -1,4 +1,4 @@
mod handlers;
mod http;
mod stores;
use tokio::{
@ -6,7 +6,7 @@ use tokio::{
net::{TcpListener, TcpStream},
};
use handlers::{handle_request, HTTPResponse};
use http::{handle_request, HTTPResponse};
const SERVER_URL: &str = "127.0.0.1:9000";