From ca00b34e242b5a3e55a3d54d3fb90a3e02202be7 Mon Sep 17 00:00:00 2001 From: "david.yan" Date: Sat, 29 Mar 2025 20:14:26 +0800 Subject: [PATCH] add GatewayConf --- conf/types.go | 5 +++++ 1 file changed, 5 insertions(+) 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