123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- 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"`
- }
|