summaryrefslogtreecommitdiff
path: root/plugin/plaintext
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/plaintext')
-rw-r--r--plugin/plaintext/clash_in.go12
-rw-r--r--plugin/plaintext/clash_out.go12
2 files changed, 12 insertions, 12 deletions
diff --git a/plugin/plaintext/clash_in.go b/plugin/plaintext/clash_in.go
index 9dc9ae2d..be77cc62 100644
--- a/plugin/plaintext/clash_in.go
+++ b/plugin/plaintext/clash_in.go
@@ -13,24 +13,24 @@ which make it possible to support more formats for the project.
const (
TypeClashRuleSetClassicalIn = "clashRuleSetClassical"
- DescClashClassicalIn = "Convert classical type of Clash RuleSet to other formats (just processing IP & CIDR lines)"
+ DescClashRuleSetClassicalIn = "Convert classical type of Clash RuleSet to other formats (just processing IP & CIDR lines)"
TypeClashRuleSetIPCIDRIn = "clashRuleSet"
- DescClashRuleSetIn = "Convert ipcidr type of Clash RuleSet to other formats"
+ DescClashRuleSetIPCIDRIn = "Convert ipcidr type of Clash RuleSet to other formats"
)
func init() {
lib.RegisterInputConfigCreator(TypeClashRuleSetClassicalIn, func(action lib.Action, data json.RawMessage) (lib.InputConverter, error) {
- return newTextIn(TypeClashRuleSetClassicalIn, DescClashClassicalIn, action, data)
+ return newTextIn(TypeClashRuleSetClassicalIn, DescClashRuleSetClassicalIn, action, data)
})
lib.RegisterInputConverter(TypeClashRuleSetClassicalIn, &TextIn{
- Description: DescClashClassicalIn,
+ Description: DescClashRuleSetClassicalIn,
})
lib.RegisterInputConfigCreator(TypeClashRuleSetIPCIDRIn, func(action lib.Action, data json.RawMessage) (lib.InputConverter, error) {
- return newTextIn(TypeClashRuleSetIPCIDRIn, DescClashRuleSetIn, action, data)
+ return newTextIn(TypeClashRuleSetIPCIDRIn, DescClashRuleSetIPCIDRIn, action, data)
})
lib.RegisterInputConverter(TypeClashRuleSetIPCIDRIn, &TextIn{
- Description: DescClashRuleSetIn,
+ Description: DescClashRuleSetIPCIDRIn,
})
}
diff --git a/plugin/plaintext/clash_out.go b/plugin/plaintext/clash_out.go
index 596a5384..e7a97f1b 100644
--- a/plugin/plaintext/clash_out.go
+++ b/plugin/plaintext/clash_out.go
@@ -13,24 +13,24 @@ which make it possible to support more formats for the project.
const (
TypeClashRuleSetClassicalOut = "clashRuleSetClassical"
- DescClashClassicalOut = "Convert data to classical type of Clash RuleSet"
+ DescClashRuleSetClassicalOut = "Convert data to classical type of Clash RuleSet"
TypeClashRuleSetIPCIDROut = "clashRuleSet"
- DescClashRuleSetOut = "Convert data to ipcidr type of Clash RuleSet"
+ DescClashRuleSetIPCIDROut = "Convert data to ipcidr type of Clash RuleSet"
)
func init() {
lib.RegisterOutputConfigCreator(TypeClashRuleSetClassicalOut, func(action lib.Action, data json.RawMessage) (lib.OutputConverter, error) {
- return newTextOut(TypeClashRuleSetClassicalOut, DescClashClassicalOut, action, data)
+ return newTextOut(TypeClashRuleSetClassicalOut, DescClashRuleSetClassicalOut, action, data)
})
lib.RegisterOutputConverter(TypeClashRuleSetClassicalOut, &TextOut{
- Description: DescClashClassicalOut,
+ Description: DescClashRuleSetClassicalOut,
})
lib.RegisterOutputConfigCreator(TypeClashRuleSetIPCIDROut, func(action lib.Action, data json.RawMessage) (lib.OutputConverter, error) {
- return newTextOut(TypeClashRuleSetIPCIDROut, DescClashRuleSetOut, action, data)
+ return newTextOut(TypeClashRuleSetIPCIDROut, DescClashRuleSetIPCIDROut, action, data)
})
lib.RegisterOutputConverter(TypeClashRuleSetIPCIDROut, &TextOut{
- Description: DescClashRuleSetOut,
+ Description: DescClashRuleSetIPCIDROut,
})
}