package config import ( "bp.jydev.jianyu360.cn/CRM/networkManage/entity" "github.com/zeromicro/go-zero/rest" ) type Config struct { rest.RestConf Gateway struct { ServerCode string Etcd []string } CacheTimeOut string SelectBatchSize int ExportIdCachaPoolSize int ProjectYearLimit int EntNameList []string InitNetworkMaxSize int } type Db struct { Mysql entity.Mysql `json:"mysql"` Mongo entity.Mongo `json:"mongo"` Es entity.EsStruct `json:"es"` Clickhouse *CHouseConfig Redis string `json:"redis"` } type CHouseConfig struct { Addr string UserName string Password string DbName string MaxIdleConns int MaxOpenConns int }