diff --git a/conf/types.go b/conf/types.go index 79477be..6352262 100644 --- a/conf/types.go +++ b/conf/types.go @@ -18,6 +18,11 @@ type MicroServiceConf struct { Anonymous []string `yaml:"Anonymous"` } +type GatewayConf struct { + Enable bool `yaml:"Enable"` // 是否启用网关服务 + Port int `yaml:"Port"` // 服务监听端口 +} + type ApmConf struct { Name string // APM服务名称 Platform string `yaml:"Platform"` // APM平台:apm,skywalking