Add invert rule item

This commit is contained in:
世界 2022-07-24 13:44:26 +08:00
parent 21641be9d1
commit ce4b7231e2
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
4 changed files with 14 additions and 7 deletions

View file

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