Break Change: use yml, which is easier to parse, as the config format
This commit is contained in:
@ -13,6 +13,11 @@ type Selector struct {
|
||||
proxies map[string]C.Proxy
|
||||
}
|
||||
|
||||
type SelectorOption struct {
|
||||
Name string `proxy:"name"`
|
||||
Proxies []string `proxy:"proxies"`
|
||||
}
|
||||
|
||||
func (s *Selector) Name() string {
|
||||
return s.name
|
||||
}
|
||||
|
Reference in New Issue
Block a user