Revert "chore: Refine adapter type name"

This reverts commit 61734e5cac.
This commit is contained in:
wwqgtxx 2023-06-19 14:28:06 +08:00
parent d391fda051
commit ad7508f203

View file

@ -182,7 +182,6 @@ 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:
@ -190,13 +189,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:
@ -204,7 +203,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"