feat: add Sudoku protocol inbound & outbound support (#2397)

This commit is contained in:
futai
2025-11-28 23:40:00 +08:00
committed by GitHub
parent 8b6ba22b90
commit 6cf1743961
12 changed files with 700 additions and 3 deletions

View File

@@ -39,6 +39,7 @@ const (
HYSTERIA2
ANYTLS
MIERU
SUDOKU
INNER
)
@@ -112,6 +113,8 @@ func (t Type) String() string {
return "AnyTLS"
case MIERU:
return "Mieru"
case SUDOKU:
return "Sudoku"
case INNER:
return "Inner"
default:
@@ -154,6 +157,8 @@ func ParseType(t string) (*Type, error) {
res = ANYTLS
case "MIERU":
res = MIERU
case "SUDOKU":
res = SUDOKU
case "INNER":
res = INNER
default: