Documentation
¶
Index ¶
Constants ¶
View Source
const (
// OptimizeMinCount 使用ruleset inline模式优化要求的最小数量
OptimizeMinCount = 8
)
Variables ¶
This section is empty.
Functions ¶
func ConvertRulesetContentToText ¶ added in v0.0.8
func ConvertRulesetContentToText(x *define.RulesetContent, convertType ClashRuleSetConvertType) string
func ProxyToClash ¶
func ProxyToClash(nodes []*define.Proxy, baseConf string, rulesetContent []*define.RulesetContent, extraProxyGroup []*define.ProxyGroupConfig, extraSetting *define.ExtraSettings) (string, error)
Types ¶
type ClashRuleSetConvertType ¶ added in v0.0.8
type ClashRuleSetConvertType int
const ( ClashRuleSetConvertType_Domain ClashRuleSetConvertType = iota ClashRuleSetConvertType_IPCIDR )
type CompactObjectMap ¶
type CompactObjectMap map[string]interface{}
type QuotedString ¶ added in v0.0.5
type QuotedString string
Click to show internal directories.
Click to hide internal directories.