1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-25 08:50:54 -05:00
sub2clash/model/sub.go

15 lines
780 B
Go
Raw Permalink Normal View History

2023-09-12 06:40:24 -04:00
package model
type Subscription struct {
Port int `yaml:"port,omitempty"`
SocksPort int `yaml:"socks-port,omitempty"`
2023-09-13 01:47:22 -04:00
AllowLan bool `yaml:"allow-lan"`
2023-09-12 06:40:24 -04:00
Mode string `yaml:"mode,omitempty"`
2023-09-13 01:47:22 -04:00
LogLevel string `yaml:"logger-level,omitempty"`
2023-09-12 06:40:24 -04:00
ExternalController string `yaml:"external-controller,omitempty"`
Proxies []Proxy `yaml:"proxies,omitempty"`
ProxyGroups []ProxyGroup `yaml:"proxy-groups,omitempty"`
Rules []string `yaml:"rules,omitempty"`
RuleProviders map[string]RuleProvider `yaml:"rule-providers,omitempty,omitempty"`
}