add GatewayConf
This commit is contained in:
parent
922cfd6a02
commit
ca00b34e24
|
@ -18,6 +18,11 @@ type MicroServiceConf struct {
|
||||||
Anonymous []string `yaml:"Anonymous"`
|
Anonymous []string `yaml:"Anonymous"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type GatewayConf struct {
|
||||||
|
Enable bool `yaml:"Enable"` // 是否启用网关服务
|
||||||
|
Port int `yaml:"Port"` // 服务监听端口
|
||||||
|
}
|
||||||
|
|
||||||
type ApmConf struct {
|
type ApmConf struct {
|
||||||
Name string // APM服务名称
|
Name string // APM服务名称
|
||||||
Platform string `yaml:"Platform"` // APM平台:apm,skywalking
|
Platform string `yaml:"Platform"` // APM平台:apm,skywalking
|
||||||
|
|
Loading…
Reference in New Issue