feat: Support config redir port and tproxy port

This commit is contained in:
MystiPanda
2024-03-20 23:38:47 +08:00
parent ef4711987f
commit 2d925c62f5
7 changed files with 152 additions and 7 deletions

View File

@@ -1,8 +1,10 @@
use serde_yaml::{Mapping, Value};
use std::collections::HashSet;
pub const HANDLE_FIELDS: [&str; 9] = [
pub const HANDLE_FIELDS: [&str; 11] = [
"mode",
"redir-port",
"tproxy-port",
"mixed-port",
"socks-port",
"port",