feat: shadowsocks

This commit is contained in:
zhom
2026-04-19 19:40:55 +04:00
parent 8284b62e34
commit 3152e0de59
11 changed files with 73 additions and 24 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ use utoipa::ToSchema;
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
pub struct ProxySettings {
pub proxy_type: String, // "http", "https", "socks4", or "socks5"
pub proxy_type: String, // "http", "https", "socks4", "socks5", or "ss" (Shadowsocks)
pub host: String,
pub port: u16,
pub username: Option<String>,