Separated the code
This commit is contained in:
1 parent
dda88ce0a0
commit
9b77a8dd78
7 files changed
+57
-26
No files matched your search
@@ -0,0 +1,10 @@
|
||||
pub fn get_full() -> String {
|
||||
get_address() + ":" + &get_port()
|
||||
}
|
||||
fn get_address() -> String {
|
||||
String::from("0.0.0.0")
|
||||
}
|
||||
|
||||
fn get_port() -> String {
|
||||
String::from("3000")
|
||||
}
|
||||
Reference in new issue
Block a user