redis.go 490 B

123456789101112131415161718192021
  1. package email
  2. const (
  3. //MailKey 实时邮件队列
  4. MailKey = "f_mail_list"
  5. //MailFastKey 超限名单的邮件队列
  6. MailFastKey = "f_mail_list_fast"
  7. //RetryListKey 重试列表
  8. RetryListKey = "f_retry_list"
  9. //RetryActionReply 评论重试
  10. RetryActionReply = "reply"
  11. )
  12. //Retry retry
  13. type Retry struct {
  14. AID int64 `json:"aid"`
  15. Action string `json:"action"`
  16. Flag int64 `json:"flag"`
  17. FlagA int64 `json:"flag_a"`
  18. CreateTime int64 `json:"create_time"`
  19. }