You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
256 B
17 lines
256 B
package backends
|
|
|
|
import (
|
|
"errors"
|
|
"time"
|
|
)
|
|
|
|
type Metadata struct {
|
|
DeleteKey string
|
|
Sha256sum string
|
|
Mimetype string
|
|
Size int64
|
|
Expiry time.Time
|
|
ArchiveFiles []string
|
|
}
|
|
|
|
var BadMetadata = errors.New("Corrupted metadata.")
|