mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-09 18:59:06 +08:00
[test] rule providers
This commit is contained in:
parent
e52c111ae0
commit
38bb5d9b95
@ -2,7 +2,6 @@ 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"
|
||||||
)
|
)
|
||||||
@ -108,10 +107,6 @@ 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…
x
Reference in New Issue
Block a user