ProfouzorsLinx/backends/meta.go

18 lines
256 B
Go
Raw Normal View History

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.")