123456789101112131415161718192021222324252627282930 |
- 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
- }
- }
- 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
- }
|