Using rust #2
@@ -0,0 +1,6 @@
|
||||
const ADDRESS: &str = "0.0.0.0";
|
||||
const PORT: &str = "9080";
|
||||
|
||||
pub fn get_full() -> String {
|
||||
format!("{ADDRESS}:{PORT}")
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
pub mod config;
|
||||
pub mod db;
|
||||
|
||||
|
||||
#[tokio::main]
|
||||
|
||||
Reference in New Issue
Block a user