task wip
This commit is contained in:
parent
172bf636d6
commit
a040d5d56c
6 changed files with 123 additions and 3 deletions
18
types/task.go
Normal file
18
types/task.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
package types
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"git.lastassault.de/speatzle/morffix/task"
|
||||
)
|
||||
|
||||
type TaskStart struct {
|
||||
ID int `json:"id"`
|
||||
FileID int `json:"file_id"`
|
||||
Type int `json:"type"`
|
||||
Data json.RawMessage
|
||||
}
|
||||
|
||||
type TaskStatus struct {
|
||||
task.Task
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue