This commit is contained in:
2023-08-25 15:06:46 +08:00
parent 993b893be4
commit 84cf2c8824
3 changed files with 52 additions and 0 deletions

View File

@@ -41,6 +41,18 @@ type YamlConfig struct {
KeyFile string `yaml:"keyFile"`
} `yaml:"rest"`
WebServer struct {
Enabled bool `yaml:"enabled"`
RootDir string `yaml:"rootDir"`
Listen []struct {
Addr string `yaml:"addr"`
Schema string `yaml:"schema"`
CaFile string `yaml:"caFile"`
CertFile string `yaml:"certFile"`
KeyFile string `yaml:"keyFile"`
} `yaml:"listen"`
} `yaml:"webServer"`
Database DbConfig `yaml:"database"`
OMC struct {