Initial resume implementation

This commit is contained in:
Richard Patel
2019-02-03 15:02:07 +01:00
parent b18b70f798
commit a83eb0cfd7
7 changed files with 464 additions and 122 deletions

View File

@@ -38,6 +38,12 @@ type OD struct {
Scanned redblackhash.Tree
}
type PausedOD struct {
Task *Task
Result *TaskResult
BaseUri *fasturl.URL
}
type File struct {
Name string `json:"name"`
Size int64 `json:"size"`