Add clash persistence support

This commit is contained in:
世界
2022-09-10 14:40:16 +08:00
parent a62774c51c
commit 755d187ce1
8 changed files with 140 additions and 19 deletions

View File

@@ -1,10 +1,13 @@
package option
type ClashAPIOptions struct {
DefaultMode string `json:"default_mode,omitempty"`
ExternalController string `json:"external_controller,omitempty"`
ExternalUI string `json:"external_ui,omitempty"`
Secret string `json:"secret,omitempty"`
DefaultMode string `json:"default_mode,omitempty"`
StoreSelected bool `json:"store_selected,omitempty"`
CacheFile string `json:"cache_file,omitempty"`
}
type SelectorOutboundOptions struct {