config.go 557 B

12345678910111213141516171819202122232425
  1. package config
  2. import (
  3. "jyBXBase/entity"
  4. "github.com/zeromicro/go-zero/zrpc"
  5. )
  6. type Config struct {
  7. zrpc.RpcServerConf
  8. Webrpcport int64
  9. BidSearchOldUserLimit int64
  10. FileSignBool bool
  11. UnitAppend string //数值单位后面的加号 写死的目前
  12. UserCenterKey string
  13. PowerCheckCenterKey string
  14. EntManageApplication string
  15. }
  16. type Db struct {
  17. Mysql entity.Mysql `json:"mysql"`
  18. Redis entity.RedisStuct `json:"redis"`
  19. Es entity.EsStruct `json:"es"`
  20. Mongo entity.Mongo `json:"mongo"`
  21. }