Files
mini-sing/constant/type.go
NeoMody 4eded409ae Add clash_mode routing, socks outbound, and vision uTLS support
- Add clash_mode rule matcher for runtime mode switching via Clash API
- Support mode_list and default_mode in clash_api config
- PATCH /configs now switches clash_mode live without restart
- Add socks5 outbound protocol using sing's socks.Client
- Enable with_utls build tag for VLESS vision flow compatibility
2026-04-05 11:53:12 +08:00

22 lines
527 B
Go

package constant
const (
TypeTun = "tun"
TypeMixed = "mixed"
TypeTrojan = "trojan"
TypeShadowsocks = "shadowsocks"
TypeSelector = "selector"
TypeURLTest = "urltest"
TypeSocks = "socks"
TypeDirect = "direct"
TypeBlock = "block"
TypeTailscale = "tailscale"
TypeVLESS = "vless"
TypeVMESS = "vmess"
TypeDNS = "dns"
TypeFallback = "fallback"
TypeHysteria2 = "hysteria2"
TypeWireGuard = "wireguard"
TypeTUIC = "tuic"
)