package config import ( "github.com/zeromicro/go-zero/gateway" ) type Config struct { gateway.GatewayConf Nacos NacosConf } type NacosConf struct { Hosts []string NamespaceId string `json:",optional"` Group string `json:",optional"` RegisterIP string `json:",optional"` ConfigID string `json:",optional"` } type ResponseConf struct { IsDebug bool `json:",default=true"` EncryptKey string `json:",optional"` }