1234567891011121314151617181920212223242526272829 |
- package config
- import (
- "github.com/zeromicro/go-zero/zrpc"
- "jyBXBuyer/entity"
- )
- type Config struct {
- zrpc.RpcServerConf
- Webrpcport int64
- BuyerCount int64
- DefaultBuyerNames []string
- BuyerSearchLimit int64
- Middleground struct { //中台
- Etcd struct {
- Hosts []string
- }
- PowerCheckCenterKey string
- UserCenterKey string
- ResourceCenterKey string
- }
- }
- type Db struct {
- Mysql entity.Mysql `json:"mysql"`
- Redis entity.RedisStuct `json:"redis"`
- Es entity.EsStruct `json:"es"`
- Mongo entity.Mongo `json:"mongo"`
- }
|