diff --git a/conf/types.go b/conf/types.go index a119def..cf52b79 100644 --- a/conf/types.go +++ b/conf/types.go @@ -1,12 +1,13 @@ package conf type Base struct { - Service string `yaml:"Service"` // 服务名称 - Port string `yaml:"Port"` // 服务监听端口,0为自动随机端口 - Cache string `yaml:"Cache"` // REDIS缓存 - SecretKey string `yaml:"SecretKey"` // 服务秘钥 - BindIP string `yaml:"BindIP"` // 绑定IP - Addr string `yaml:"Addr"` + Service string `yaml:"Service"` // 服务名称 + Port string `yaml:"Port"` // 服务监听端口,0为自动随机端口 + Cache string `yaml:"Cache"` // REDIS缓存 + SecretKey string `yaml:"SecretKey"` // 服务秘钥 + BindIP string `yaml:"BindIP"` // 绑定IP + Addr string `yaml:"Addr"` + OnMicroService bool `yaml:"OnMicroService"` } type DBConf struct {