chore: Refine adapter type name

This commit is contained in:
H1JK 2023-06-17 00:05:03 +08:00 committed by Larvan2
parent a2334430c1
commit 514d374b8c

View file

@ -182,6 +182,7 @@ func (at AdapterType) String() string {
return "Compatible" return "Compatible"
case Pass: case Pass:
return "Pass" return "Pass"
case Shadowsocks: case Shadowsocks:
return "Shadowsocks" return "Shadowsocks"
case ShadowsocksR: case ShadowsocksR:
@ -189,13 +190,13 @@ func (at AdapterType) String() string {
case Snell: case Snell:
return "Snell" return "Snell"
case Socks5: case Socks5:
return "Socks5" return "SOCKS5"
case Http: case Http:
return "Http" return "HTTP"
case Vmess: case Vmess:
return "Vmess" return "VMess"
case Vless: case Vless:
return "Vless" return "VLESS"
case Trojan: case Trojan:
return "Trojan" return "Trojan"
case Hysteria: case Hysteria:
@ -203,7 +204,7 @@ func (at AdapterType) String() string {
case WireGuard: case WireGuard:
return "WireGuard" return "WireGuard"
case Tuic: case Tuic:
return "Tuic" return "TUIC"
case Relay: case Relay:
return "Relay" return "Relay"