[fix]code

This commit is contained in:
Maze.tsz
2021-12-02 03:39:37 +08:00
parent c7b257b188
commit 0431969a73
14 changed files with 798 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
package provider
import "C"
import (
"github.com/Dreamacro/clash/constant"
)
@@ -79,6 +80,8 @@ const (
Classical
)
type Behavior int
// RuleType defined
type RuleType int

View File

@@ -12,6 +12,7 @@ const (
SrcPort
DstPort
Process
RuleSet
Script
MATCH
)
@@ -40,6 +41,8 @@ func (rt RuleType) String() string {
return "DstPort"
case Process:
return "Process"
case RuleSet:
return "RuleSet"
case Script:
return "Script"
case MATCH: