chore: remove Script mode residual code.

This commit is contained in:
CHIZI-0618
2022-05-14 13:00:33 +08:00
parent d4dcbce9cb
commit 5bd5f1bfda
7 changed files with 0 additions and 51 deletions

View File

@ -12,14 +12,12 @@ type TunnelMode int
var ModeMapping = map[string]TunnelMode{
Global.String(): Global,
Rule.String(): Rule,
Script.String(): Script,
Direct.String(): Direct,
}
const (
Global TunnelMode = iota
Rule
Script
Direct
)
@ -63,8 +61,6 @@ func (m TunnelMode) String() string {
return "global"
case Rule:
return "rule"
case Script:
return "script"
case Direct:
return "direct"
default: