bff config to nacos
This commit is contained in:
@@ -6,8 +6,7 @@ import (
|
||||
|
||||
type Config struct {
|
||||
gateway.GatewayConf
|
||||
Nacos NacosConf
|
||||
Response ResponseConf `json:",optional"`
|
||||
Nacos NacosConf
|
||||
}
|
||||
|
||||
type NacosConf struct {
|
||||
@@ -15,9 +14,5 @@ type NacosConf struct {
|
||||
NamespaceId string `json:",optional"`
|
||||
Group string `json:",optional"`
|
||||
RegisterIP string `json:",optional"`
|
||||
}
|
||||
|
||||
type ResponseConf struct {
|
||||
IsDebug bool `json:",default=true"`
|
||||
EncryptKey string `json:",optional"`
|
||||
ConfigID string `json:",optional"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user