package entity type MongoDB struct { Main *MainMongoDBStruct Log *LogMongoDBStruct Bidding *BiddingMongoDBStruct } // type MainMongoDBStruct struct { Address string `json:"address"` Size int `json:"size"` DbName string `json:"dbName"` } // type LogMongoDBStruct struct { Address string `json:"address"` Size int `json:"size"` DbName string `json:"dbName"` UserName string `json:"userName"` PassWord int64 `json:"passWord"` } // type BiddingMongoDBStruct struct { Address string `json:"address"` Size int `json:"size"` DbName string `json:"dbName"` Collection string `json:"collection"` CollectionChange string `json:"collectionChange"` UserName string `json:"userName"` PassWord string `json:"passWord"` } // type Mysql struct { Main *MysqlStruct Push *MysqlStruct MemberPush *MysqlStruct EntnichePush *MysqlStruct } //mysql type MysqlStruct struct { DbName string `json:"dbName"` Address string `json:"address"` UserName string `json:"userName"` PassWord string `json:"passWord"` MaxOpenConns int `json:"maxOpenConns"` MaxIdleConns int `json:"maxIdleConns"` } //nsq消息队列 type NsqStruct struct { Ip string `json:"ip"` Topic string `json:"topic"` } //redis type RedisDBStuct struct { Addr []string `json:"addr"` } //es type EsStruct struct { Addr string `json:"addr"` Size int `json:"size"` }