Add direct io option for clash api

This commit is contained in:
世界
2022-09-26 15:31:02 +08:00
parent b5564ef3d3
commit 7f9c870bba
5 changed files with 157 additions and 51 deletions

View File

@@ -5,6 +5,7 @@ type ClashAPIOptions struct {
ExternalUI string `json:"external_ui,omitempty"`
Secret string `json:"secret,omitempty"`
DirectIO bool `json:"direct_io,omitempty"`
DefaultMode string `json:"default_mode,omitempty"`
StoreSelected bool `json:"store_selected,omitempty"`
CacheFile string `json:"cache_file,omitempty"`