mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 06:32:22 +08:00
25 lines
370 B
Go
25 lines
370 B
Go
package constant
|
|
|
|
const (
|
|
RuleTypeDefault = "default"
|
|
RuleTypeLogical = "logical"
|
|
)
|
|
|
|
const (
|
|
LogicalTypeAnd = "and"
|
|
LogicalTypeOr = "or"
|
|
)
|
|
|
|
const (
|
|
RuleSetTypeInline = "inline"
|
|
RuleSetTypeLocal = "local"
|
|
RuleSetTypeRemote = "remote"
|
|
RuleSetFormatSource = "source"
|
|
RuleSetFormatBinary = "binary"
|
|
)
|
|
|
|
const (
|
|
RuleSetVersion1 = 1 + iota
|
|
RuleSetVersion2
|
|
)
|