Skip to content
Snippets Groups Projects
Commit bd1a50e0 authored by James Page's avatar James Page
Browse files

#27 Added expiry duration convenience constants

parent 9eb276ed
No related branches found
No related tags found
1 merge request!30Resolve "New S3UploadWithSettings function"
......@@ -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 (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment