ProfouzorsLinx/backends/meta.go

20 lines
298 B
Go

package backends
import (
"errors"
"time"
)
type Metadata struct {
DeleteKey string
AccessKey string
Sha256sum string
Mimetype string
Size int64
Expiry time.Time
SrcIp string
ArchiveFiles []string
}
var BadMetadata = errors.New("Corrupted metadata.")