This commit is contained in:
2024-04-17 21:52:03 +08:00
parent 7748407583
commit b687acb94c
12 changed files with 114 additions and 289 deletions

View File

@@ -1,18 +1,5 @@
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"`
}