18 lines
257 B
Go
18 lines
257 B
Go
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
|
|
}
|