Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAppsFromClashRules ¶
ExtractAppsFromClashRules parses files containing app rules and extracts configs.AppId entries. It supports both plain text format (PROCESS-NAME and PROCESS-PATH rules) and YAML format with payload array.
func ExtractCidrFromClashRules ¶
ExtractCidrFromClashRules parses files containing CIDR rules and extracts geo.CIDR entries. It supports both plain text format (IP-CIDR and IP-CIDR6 rules) and YAML format with payload array.
func ExtractDomainsFromClashRules ¶
ExtractDomainsFromClashRules parses files containing domain rules and extracts geo.Domain entries. It supports both plain text format (DOMAIN and DOMAIN-SUFFIX rules) and YAML format with payload array.
Types ¶
type PayloadConfig ¶
type PayloadConfig struct {
Payload []string `yaml:"payload"`
}
Click to show internal directories.
Click to hide internal directories.