We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c07df1c commit 3850a5dCopy full SHA for 3850a5d
1 file changed
src/main.rs
@@ -1,11 +1,12 @@
1
use std::net::SocketAddr;
2
3
-use config::{load_config, GatewayConfig, ServiceConfig};
+use config::load_config;
4
5
mod config;
6
7
#[tokio::main]
8
async fn main() {
9
let config = load_config("gateway_config.toml");
10
let addr = SocketAddr::from(([0, 0, 0, 0], 8080));
11
+ println!("config:{:?}, addr:{:?}", config, addr);
12
}
0 commit comments