mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-10-12 02:08:11 +08:00
1 parent
796eb5c95c
commit
340efef2d8
1 file changed
+5
@@ -2,6 +2,7 @@ package provider
|
||||
|
||||
import "C"
|
||||
import (
|
||||
"errors"
|
||||
"github.com/Dreamacro/clash/component/trie"
|
||||
"github.com/Dreamacro/clash/constant"
|
||||
)
|
||||
@@ -107,6 +108,10 @@ type RuleProvider interface {
|
||||
}
|
||||
|
||||
var (
|
||||
parse = func(ruleType, rule string, params []string) (C.Rule, error) {
|
||||
return nil, errors.New("unimplemented function")
|
||||
}
|
||||
|
||||
ruleProviders = map[string]*RuleProvider{}
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user