config.go 396 B

123456789101112131415161718192021
  1. package config
  2. import (
  3. "bp.jydev.jianyu360.cn/BaseService/powerCheckCenter/entity"
  4. "github.com/zeromicro/go-zero/zrpc"
  5. )
  6. type Config struct {
  7. zrpc.RpcServerConf
  8. MysqlMain entity.MysqlMainStruct
  9. BaseMysqlMain entity.MysqlMainStruct
  10. Mongo struct {
  11. Main *entity.MongoStruct
  12. }
  13. RedisAddrees []string
  14. AlertRemind struct {
  15. Addr string
  16. Toppic string
  17. Id string
  18. }
  19. }