first commit

This commit is contained in:
zzw
2026-08-05 17:37:32 +08:00
commit 38be479cef
72 changed files with 15670 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package config
import (
"github.com/zeromicro/go-zero/gateway"
)
type Config struct {
gateway.GatewayConf
Nacos NacosConf
Response ResponseConf `json:",optional"`
}
type NacosConf struct {
Hosts []string
NamespaceId string `json:",optional"`
Group string `json:",optional"`
RegisterIP string `json:",optional"`
}
type ResponseConf struct {
IsDebug bool `json:",default=true"`
EncryptKey string `json:",optional"`
}