nacos config

This commit is contained in:
eson
2023-09-19 19:16:26 +08:00
parent 25903207dc
commit d39633060b
2 changed files with 14 additions and 2 deletions

View File

@@ -21,6 +21,15 @@ type EnvConfig struct {
NamespaceId string `yaml:"namespace"`
DataId string `yaml:"dataid"`
Group string `yaml:"group"`
ProxyServer struct {
KeyFile string `yaml:"key"`
PemFile string `yaml:"pem"`
} `yaml:"proxyserver"`
ServerBackend struct {
KeyFile string `yaml:"key"`
PemFile string `yaml:"pem"`
} `yaml:"serverbackend"`
}
var optPathDirs = []string{"/opt", "./", "../", "../../"}