This commit is contained in:
simonzhangsz committed 2023-08-23 14:38:52 +08:00
1 parent 2a9ea8dc80
commit 055ed5eb69
4 files changed
+38 -11

No files matched your search

+6 -3
View File
@@ -32,9 +32,12 @@ type YamlConfig struct {
} `yaml:"logger"`
Rest []struct {
IPv4 string `yaml:"ipv4"`
IPv6 string `yaml:"ipv6"`
Port uint16 `yaml:"port"`
IPv4 string `yaml:"ipv4"`
IPv6 string `yaml:"ipv6"`
Port uint16 `yaml:"port"`
Schema string `yaml:"schema"`
CertFile string `yaml:"certFile"`
KeyFile string `yaml:"keyFile"`
} `yaml:"rest"`
Database DbConfig `yaml:"database"`