multithread

This commit is contained in:
Sotirios Pupakis
2025-09-18 23:48:52 +02:00
parent 7422bcd737
commit d453604e67
3 changed files with 158 additions and 24 deletions

View File

@@ -61,11 +61,13 @@ type Manifest struct {
Size int `json:"size"`
Offsets []int `json:"offsets"`
} `json:"remainder"`
Fragments []struct {
Sha512 string `json:"sha512"`
Size int `json:"size"`
Offsets []int `json:"offsets"`
} `json:"fragments"`
Fragments []Fragment `json:"fragments"`
}
type Fragment struct {
Sha512 string `json:"sha512"`
Size int `json:"size"`
Offsets []int `json:"offsets"`
}
type RDBHeader struct {