diff --git a/s3/s3.go b/s3/s3.go index ba607b1954159fb147b59abaf46d5e178b303135..1aa35c03c176edf9dfd1227d5d5361a6c673fc76 100644 --- a/s3/s3.go +++ b/s3/s3.go @@ -38,6 +38,12 @@ type S3UploadSettings struct { FileExt string // Required when GenerateFileNameFromParts is true } +// Duration constants +const ( + S3ExpiryDuration1Day time.Duration = 24 * time.Hour + S3ExpiryDuration7Days time.Duration = 7 * 24 * time.Hour +) + type MIMEType string const (