mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-27 05:01:45 +00:00
15 lines
330 B
Go
15 lines
330 B
Go
package util
|
|
|
|
type Config struct {
|
|
Name string `json:"name"`
|
|
Cmd string `json:"cmd"`
|
|
Set []Variant `json:"set,omitempty"`
|
|
Unset []Variant `json:"unset,omitempty"`
|
|
}
|
|
|
|
type Variant struct {
|
|
Arguments []string `json:"args"`
|
|
Type string `json:"type,omitempty"`
|
|
Equator string `json:"equator,omitempty"`
|
|
}
|