From 514d374b8ce39b0f492a9dd22a42bc7868022651 Mon Sep 17 00:00:00 2001 From: H1JK Date: Sat, 17 Jun 2023 00:05:03 +0800 Subject: [PATCH] chore: Refine adapter type name --- constant/adapters.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/constant/adapters.go b/constant/adapters.go index a3796ef7..43398352 100644 --- a/constant/adapters.go +++ b/constant/adapters.go @@ -182,6 +182,7 @@ func (at AdapterType) String() string { return "Compatible" case Pass: return "Pass" + case Shadowsocks: return "Shadowsocks" case ShadowsocksR: @@ -189,13 +190,13 @@ func (at AdapterType) String() string { case Snell: return "Snell" case Socks5: - return "Socks5" + return "SOCKS5" case Http: - return "Http" + return "HTTP" case Vmess: - return "Vmess" + return "VMess" case Vless: - return "Vless" + return "VLESS" case Trojan: return "Trojan" case Hysteria: @@ -203,7 +204,7 @@ func (at AdapterType) String() string { case WireGuard: return "WireGuard" case Tuic: - return "Tuic" + return "TUIC" case Relay: return "Relay"