fix metadata

This commit is contained in:
ginuerzh
2022-01-09 00:07:26 +08:00
parent f45dc93e92
commit 37e77bdce5
12 changed files with 118 additions and 159 deletions

View File

@ -31,11 +31,11 @@ type ProfilingConfig struct {
}
type TLSConfig struct {
Cert string
Key string
Cert string `yaml:",omitempty"`
Key string `yaml:",omitempty"`
CA string `yaml:",omitempty"`
Secure bool `yaml:",omitempty"`
ServerName string `yaml:",omitempty"`
ServerName string `yaml:"serverName,omitempty"`
}
type AuthConfig struct {
@ -59,7 +59,7 @@ type NameserverConfig struct {
Addr string
Chain string
Prefer string
ClientIP string
ClientIP string `yaml:"clientIP"`
Hostname string
TTL time.Duration
Timeout time.Duration