14 lines
414 B
Rust
14 lines
414 B
Rust
use proxy::edge_node_dc_callback;
|
|
use proxy_common::{ProxyStartupParam, setup_edge_node_connection};
|
|
use rnex_core::common::setup;
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
setup();
|
|
|
|
let param = ProxyStartupParam::new(proxy_common::ProxyType::Secure)
|
|
.expect("unable to get startup parameters");
|
|
|
|
setup_edge_node_connection(¶m, edge_node_dc_callback).await;
|
|
proxy::start_secure(param).await;
|
|
}
|