mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
feat: support trusttunnel inbound and outbound
This commit is contained in:
@@ -40,6 +40,7 @@ const (
|
||||
ANYTLS
|
||||
MIERU
|
||||
SUDOKU
|
||||
TRUSTTUNNEL
|
||||
INNER
|
||||
)
|
||||
|
||||
@@ -115,6 +116,8 @@ func (t Type) String() string {
|
||||
return "Mieru"
|
||||
case SUDOKU:
|
||||
return "Sudoku"
|
||||
case TRUSTTUNNEL:
|
||||
return "TrustTunnel"
|
||||
case INNER:
|
||||
return "Inner"
|
||||
default:
|
||||
@@ -159,6 +162,8 @@ func ParseType(t string) (*Type, error) {
|
||||
res = MIERU
|
||||
case "SUDOKU":
|
||||
res = SUDOKU
|
||||
case "TRUSTTUNNEL":
|
||||
res = TRUSTTUNNEL
|
||||
case "INNER":
|
||||
res = INNER
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user