feat: support mieru inbound (#2347)

This commit is contained in:
enfein
2025-11-09 01:29:47 +00:00
committed by GitHub
parent ff76576cbe
commit a4b76809ac
8 changed files with 541 additions and 3 deletions

View File

@@ -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: