mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-25 02:04:41 -05:00
19 lines
850 B
Go
19 lines
850 B
Go
package model
|
|
|
|
type Subscription struct {
|
|
Port int `yaml:"port,omitempty"`
|
|
SocksPort int `yaml:"socks-port,omitempty"`
|
|
AllowLan bool `yaml:"allow-lan"`
|
|
Mode string `yaml:"mode,omitempty"`
|
|
LogLevel string `yaml:"logger-level,omitempty"`
|
|
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"`
|
|
}
|
|
|
|
type NodeList struct {
|
|
Proxies []Proxy `yaml:"proxies,omitempty"`
|
|
}
|