- 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
22 lines
527 B
Go
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"
|
|
)
|