Improve config struct

This commit is contained in:
世界 2022-07-25 11:29:46 +08:00
parent 1f05420745
commit cc78f0347d
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
22 changed files with 187 additions and 362 deletions

View file

@ -3,9 +3,3 @@ package option
type ExperimentalOptions struct {
ClashAPI *ClashAPIOptions `json:"clash_api,omitempty"`
}
type ClashAPIOptions struct {
ExternalController string `json:"external_controller,omitempty"`
ExternalUI string `json:"external_ui,omitempty"`
Secret string `json:"secret,omitempty"`
}