Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeClashRuleSetClassicalIn = "clashRuleSetClassical" DescClashRuleSetClassicalIn = "Convert classical type of Clash RuleSet to other formats (just processing IP & CIDR lines)" TypeClashRuleSetIPCIDRIn = "clashRuleSet" DescClashRuleSetIPCIDRIn = "Convert ipcidr type of Clash RuleSet to other formats" )
View Source
const ( TypeClashRuleSetClassicalOut = "clashRuleSetClassical" DescClashRuleSetClassicalOut = "Convert data to classical type of Clash RuleSet" TypeClashRuleSetIPCIDROut = "clashRuleSet" DescClashRuleSetIPCIDROut = "Convert data to ipcidr type of Clash RuleSet" )
View Source
const ( TypeJSONIn = "json" DescJSONIn = "Convert JSON data to other formats" )
View Source
const ( TypeSurgeRuleSetIn = "surgeRuleSet" DescSurgeRuleSetIn = "Convert Surge RuleSet to other formats (just processing IP & CIDR lines)" )
View Source
const ( TypeSurgeRuleSetOut = "surgeRuleSet" DescSurgeRuleSetOut = "Convert data to Surge RuleSet" )
View Source
const ( TypeTextIn = "text" DescTextIn = "Convert plaintext IP & CIDR to other formats" )
View Source
const ( TypeTextOut = "text" DescTextOut = "Convert data to plaintext CIDR format" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextIn ¶
type TextIn struct {
Type string
Action lib.Action
Description string
Name string
URI string
IPOrCIDR []string
InputDir string
Want map[string]bool
OnlyIPType lib.IPType
JSONPath []string
RemovePrefixesInLine []string
RemoveSuffixesInLine []string
}
func (*TextIn) GetDescription ¶
Click to show internal directories.
Click to hide internal directories.