1234567891011121314151617181920212223242526272829303132333435 |
- package config
- import (
- "github.com/zeromicro/go-zero/rest"
- "github.com/zeromicro/go-zero/zrpc"
- "jyBXCore/entity"
- )
- type Config struct {
- rest.RestConf
- Webrpcport int64
- Gateway struct {
- ServerCode string
- Etcd []string
- }
- Core zrpc.RpcClientConf
- MgoLogsName string
- MgoLogsCount int
- DetailMosaicTxt string
- SearchMosaic struct {
- Budget bool `json:"budget"`
- BidAmount bool `json:"bidAmount"`
- Buyer bool `json:"buyer"`
- Winner bool `json:"winner"`
- BidOpenTime bool `json:"bidOpenTime"`
- }
- }
- type Db struct {
- Mongo entity.Mongo `json:"mongo"`
- }
- type Routes struct {
- ExcludeRoute []string
- }
|