parent
d3708a2e71
commit
b1796acd83
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,7 @@ package provider
|
||||||
|
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"github.com/Dreamacro/clash/component/trie"
|
"github.com/Dreamacro/clash/component/trie"
|
||||||
"github.com/Dreamacro/clash/constant"
|
"github.com/Dreamacro/clash/constant"
|
||||||
)
|
)
|
||||||
|
@ -107,6 +108,10 @@ type RuleProvider interface {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
parse = func(ruleType, rule string, params []string) (C.Rule, error) {
|
||||||
|
return nil, errors.New("unimplemented function")
|
||||||
|
}
|
||||||
|
|
||||||
ruleProviders = map[string]*RuleProvider{}
|
ruleProviders = map[string]*RuleProvider{}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue