Some checks failed
Build and Test / puyopuyo (push) Failing after 26s
Build and Test / splatoon-testfire (push) Failing after 27s
Build and Test / minecraft-wiiu (push) Failing after 2m34s
Build and Test / fast-racing-neo (push) Failing after 2m36s
Build and Test / mario-tennis (push) Failing after 2m38s
Build and Test / splatoon (push) Failing after 2m38s
Build and Test / wii-u-chat (push) Failing after 5m25s
Build and Test / friends (push) Successful in 6m34s
Build and Test / super-mario-maker (push) Failing after 6m43s
Build and Test / sonic-transformed (push) Failing after 6m58s
Build and Test / wii-sports-club (push) Failing after 7m9s
16 lines
475 B
Rust
16 lines
475 B
Rust
use proxy::edge_node_dc_callback;
|
|
use proxy_common::{ProxyStartupParam, setup_edge_node_connection};
|
|
use rnex_server::with_setup;
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
with_setup(async || {
|
|
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;
|
|
Ok(())
|
|
})
|
|
.await;
|
|
}
|