mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
feat: add Sudoku protocol inbound & outbound support (#2397)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user