This commit is contained in:
Maple 2026-01-27 14:44:10 +01:00
commit 1b802ff33f
15 changed files with 379 additions and 74 deletions

View file

@ -1,8 +1,13 @@
use proxy_common::ProxyStartupParam;
use rnex_core::common::setup;
#[tokio::main]
async fn main() {
setup();
proxy::start_insecure(ProxyStartupParam::new()).await;
proxy::start_insecure(
ProxyStartupParam::new(proxy_common::ProxyType::Insecure)
.expect("unable to get startup parameters"),
)
.await;
}

View file

@ -1,7 +1,12 @@
use proxy_common::ProxyStartupParam;
use rnex_core::common::setup;
#[tokio::main]
async fn main() {
setup();
proxy::start_secure(ProxyStartupParam::new()).await;
proxy::start_secure(
ProxyStartupParam::new(proxy_common::ProxyType::Secure)
.expect("unable to get startup parameters"),
)
.await;
}