config.go 362 B

12345678910111213141516171819
  1. package config
  2. import (
  3. "github.com/zeromicro/go-zero/zrpc"
  4. "jyBXBase/entity"
  5. )
  6. type Config struct {
  7. zrpc.RpcServerConf
  8. Webrpcport int64
  9. BidSearchOldUserLimit int64
  10. }
  11. type Db struct {
  12. Mysql entity.Mysql `json:"mysql"`
  13. Redis entity.RedisStuct `json:"redis"`
  14. Es entity.EsStruct `json:"es"`
  15. Mongo entity.Mongo `json:"mongo"`
  16. }