Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRuleList ¶
func GetRuleList() []string
Types ¶
type ClashRuleType ¶
type ClashRuleType string
const ( ClashRuleTypeDomainSuffix ClashRuleType = "DOMAIN-SUFFIX" ClashRuleTypeCIDR ClashRuleType = "IP-CIDR" )
type PacConfigType ¶
type PacConfigType int
const ( PacConfigTypeDisable PacConfigType = iota PacConfigTypeDomain )
type PacTplConfig ¶
type RuleConfig ¶
type RuleConfig struct {
Type RuleConfigType
FileUrl string
FileName string
PacType PacConfigType
NetType NetType
ClashRuleType ClashRuleType
}
type RuleConfigType ¶
type RuleConfigType int
const ( RuleConfigTypeDomainTxt RuleConfigType = iota RuleConfigTypeRuleProvider RuleConfigTypeRuleProviderCIDR )
Click to show internal directories.
Click to hide internal directories.