config.go 286 B

12345678910111213141516171819202122
  1. package config
  2. import (
  3. "github.com/zeromicro/go-zero/core/stores/cache"
  4. "github.com/zeromicro/go-zero/zrpc"
  5. )
  6. type Config struct {
  7. zrpc.RpcServerConf
  8. DtDataStoreDB struct {
  9. DataSource string
  10. }
  11. Cache cache.CacheConf
  12. GtServerIp string
  13. RabbitMQ struct {
  14. Url string
  15. }
  16. }