mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 08:47:09 +00:00
feat: support mieru inbound (#2347)
This commit is contained in:
@@ -38,6 +38,7 @@ const (
|
||||
TUIC
|
||||
HYSTERIA2
|
||||
ANYTLS
|
||||
MIERU
|
||||
INNER
|
||||
)
|
||||
|
||||
@@ -109,6 +110,8 @@ func (t Type) String() string {
|
||||
return "Hysteria2"
|
||||
case ANYTLS:
|
||||
return "AnyTLS"
|
||||
case MIERU:
|
||||
return "Mieru"
|
||||
case INNER:
|
||||
return "Inner"
|
||||
default:
|
||||
@@ -149,6 +152,8 @@ func ParseType(t string) (*Type, error) {
|
||||
res = HYSTERIA2
|
||||
case "ANYTLS":
|
||||
res = ANYTLS
|
||||
case "MIERU":
|
||||
res = MIERU
|
||||
case "INNER":
|
||||
res = INNER
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user