config.go 527 B

123456789101112131415161718192021222324252627
  1. package config
  2. import (
  3. "bp.jydev.jianyu360.cn/BaseService/entManageApplication/entity"
  4. "github.com/zeromicro/go-zero/core/logx"
  5. "github.com/zeromicro/go-zero/zrpc"
  6. )
  7. type Config struct {
  8. zrpc.RpcServerConf
  9. UserCenterRpc string
  10. PowerCheckRpc string
  11. ResourceCenterRpc string
  12. ResourceRpc string
  13. Logx logx.LogConf
  14. Mysql struct {
  15. JianYu *entity.MysqlDb
  16. }
  17. Mongo struct {
  18. Qfw struct {
  19. MongodbAddr string
  20. Size int
  21. DbName string
  22. }
  23. }
  24. RedisAddrs string
  25. }