Declare required fields in the documentation

This commit is contained in:
世界
2022-07-09 09:26:50 +08:00
parent 34a99b5509
commit a41127179d
16 changed files with 107 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ type DNSServerOptions struct {
Address string `json:"address"`
AddressResolver string `json:"address_resolver,omitempty"`
AddressStrategy DomainStrategy `json:"address_strategy,omitempty"`
DialerOptions
Detour string `json:"detour,omitempty"`
}
type _DNSRule struct {