Implement YAML unmarshalling for various proxy types and update SOCKS parser to support "socks5" prefix.

This commit is contained in:
2025-07-15 20:14:37 +08:00
parent a178d06248
commit 83a728a415
2 changed files with 136 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ func (p *SocksParser) SupportMeta() bool {
}
func (p *SocksParser) GetPrefixes() []string {
return []string{"socks://"}
return []string{"socks://", "socks5://"}
}
func (p *SocksParser) GetType() string {