Add clash mode support

This commit is contained in:
世界 2022-09-10 14:09:47 +08:00
parent 80cfc9a25b
commit 5297273937
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
12 changed files with 98 additions and 23 deletions

View file

@ -99,6 +99,7 @@ type DefaultDNSRule struct {
User Listable[string] `json:"user,omitempty"`
UserID Listable[int32] `json:"user_id,omitempty"`
Outbound Listable[string] `json:"outbound,omitempty"`
ClashMode string `json:"clash_mode,omitempty"`
Invert bool `json:"invert,omitempty"`
Server string `json:"server,omitempty"`
DisableCache bool `json:"disable_cache,omitempty"`