You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
749 B
30 lines
749 B
package redis |
|
|
|
//redis action list |
|
const ( |
|
// ActionForDispatchFinish = "dispatchFinish" |
|
// ActionForModifyArchive = "modifyArchive" |
|
ActionForBvcCapable = "bvcCapable" |
|
// ActionForSecondRound = "secondRound" |
|
ActionForSendOpenMsg = "sendOpenMsg" |
|
ActionForSendBblog = "sendBblog" |
|
ActionForVideoshot = "addVideoshot" |
|
ActionForVideocovers = "addVideocovers" |
|
ActionForPostFirstRound = "postFirstRound" |
|
) |
|
|
|
//Retry struct |
|
type Retry struct { |
|
Action string `json:"action"` |
|
} |
|
|
|
//RetryJSON struct |
|
type RetryJSON struct { |
|
Action string `json:"action"` |
|
Data struct { |
|
Aid int64 `json:"aid"` |
|
Route string `json:"route"` |
|
Mid int64 `json:"mid"` |
|
Content string `json:"content"` |
|
} `json:"data"` |
|
}
|
|
|