2022-07-25 11:29:46 +08:00
|
|
|
package option
|
|
|
|
|
|
|
|
type ClashAPIOptions struct {
|
|
|
|
ExternalController string `json:"external_controller,omitempty"`
|
|
|
|
ExternalUI string `json:"external_ui,omitempty"`
|
|
|
|
Secret string `json:"secret,omitempty"`
|
2022-09-10 14:40:16 +08:00
|
|
|
|
|
|
|
DefaultMode string `json:"default_mode,omitempty"`
|
|
|
|
StoreSelected bool `json:"store_selected,omitempty"`
|
|
|
|
CacheFile string `json:"cache_file,omitempty"`
|
2022-07-25 11:29:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
type SelectorOutboundOptions struct {
|
|
|
|
Outbounds []string `json:"outbounds"`
|
|
|
|
Default string `json:"default,omitempty"`
|
|
|
|
}
|