config.go 395 B

1234567891011121314151617
  1. package config
  2. import "github.com/zeromicro/go-zero/zrpc"
  3. type Config struct {
  4. zrpc.RpcServerConf
  5. DataSource string // 手动代码
  6. Node int // 节点
  7. CalleeId string // 服务名字
  8. DedupUrl string
  9. FileSystemConf zrpc.RpcClientConf
  10. ProductMap map[string]interface{}
  11. ProductStr string
  12. TimeSource string //定时任务
  13. }
  14. var ConfigJson Config