This commit is contained in:
parent
0ce5b46449
commit
5ecfd81967
4 changed files with 10 additions and 4 deletions
|
@ -10,6 +10,7 @@ type TaskStart struct {
|
|||
ID int `json:"id"`
|
||||
FileID int `json:"file_id"`
|
||||
FileMD5 []byte `json:"file_md5"`
|
||||
FileExtension string `json:"file_extension"`
|
||||
Type constants.TaskType `json:"type"`
|
||||
Data json.RawMessage
|
||||
FfmpegCommand FFmpegCommand `json:"ffmpeg_command"`
|
||||
|
@ -19,6 +20,7 @@ type Task struct {
|
|||
ID int `json:"id"`
|
||||
FileID int `json:"file_id"`
|
||||
FileMD5 []byte `json:"md5"`
|
||||
FileExtension string `json:"file_extension"`
|
||||
Type constants.TaskType `json:"type"`
|
||||
Status constants.TaskStatus `json:"status"`
|
||||
FfmpegCommand FFmpegCommand `json:"ffmpeg_command"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue