morffix/types/task.go
2024-05-07 18:52:06 +02:00

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
}