Support connect gateway (#306)

This commit is contained in:
Kevin Yue authored and GitHub committed 2024-01-28 11:41:48 +08:00
1 parent 6fe6a1387a
commit b2bb35994f
14 files changed
+220 -92

No files matched your search

+1 -1
View File
@@ -2,8 +2,8 @@ mod cli;
mod handlers;
mod routes;
mod vpn_task;
mod ws_server;
mod ws_connection;
mod ws_server;
#[tokio::main]
async fn main() {
+4 -1
View File
@@ -1,6 +1,9 @@
use std::sync::Arc;
use axum::{routing::{get, post}, Router};
use axum::{
routing::{get, post},
Router,
};
use crate::{handlers, ws_server::WsServerContext};