model.go 607 B

12345678910111213141516171819202122232425
  1. package retry
  2. import (
  3. "go-common/app/job/main/archive/model/result"
  4. )
  5. const (
  6. FailList = "arc_job_fail_list"
  7. FailUpCache = "up_cache"
  8. FailUpVideoCache = "up_video_cache"
  9. FailDelVideoCache = "del_video_cache"
  10. FailDatabus = "up_databus"
  11. FailResultAdd = "result_add"
  12. )
  13. // Info retry data
  14. type Info struct {
  15. Action string `json:"action"`
  16. Data struct {
  17. Aid int64 `json:"aid"`
  18. State int `json:"state"`
  19. DatabusMsg *result.ArchiveUpInfo `json:"dbus_msg"`
  20. Cids []int64 `json:"cid"`
  21. } `json:"data"`
  22. }