Adding config module

This commit is contained in:
2026-05-31 16:11:09 -04:00
parent dd46122270
commit 26842175fe
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
const ADDRESS: &str = "0.0.0.0";
const PORT: &str = "9080";
pub fn get_full() -> String {
format!("{ADDRESS}:{PORT}")
}
+2
View File
@@ -1,3 +1,5 @@
pub mod config;
pub mod db;
#[tokio::main] #[tokio::main]