redis.go 749 B

123456789101112131415161718192021222324252627282930
  1. package redis
  2. //redis action list
  3. const (
  4. // ActionForDispatchFinish = "dispatchFinish"
  5. // ActionForModifyArchive = "modifyArchive"
  6. ActionForBvcCapable = "bvcCapable"
  7. // ActionForSecondRound = "secondRound"
  8. ActionForSendOpenMsg = "sendOpenMsg"
  9. ActionForSendBblog = "sendBblog"
  10. ActionForVideoshot = "addVideoshot"
  11. ActionForVideocovers = "addVideocovers"
  12. ActionForPostFirstRound = "postFirstRound"
  13. )
  14. //Retry struct
  15. type Retry struct {
  16. Action string `json:"action"`
  17. }
  18. //RetryJSON struct
  19. type RetryJSON struct {
  20. Action string `json:"action"`
  21. Data struct {
  22. Aid int64 `json:"aid"`
  23. Route string `json:"route"`
  24. Mid int64 `json:"mid"`
  25. Content string `json:"content"`
  26. } `json:"data"`
  27. }