clash

package
v0.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL