Documentation
¶
Index ¶
Constants ¶
View Source
const ( JPEG = "image/jpeg" HEIC = "image/heic" )
Variables ¶
This section is empty.
Functions ¶
func GetImageReader ¶
func GetImgTimeStamp ¶
GetImgTimeStamp tries to get the EXIF timestamp for the image the supplied reader refers to. it will return an error and nil Time if the object cannot be retrieved. If there are problems obtaining a meaningful timestamp from the file, it will return the current time.
Types ¶
type S3Service ¶
type S3Service interface {
GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
CopyObject(ctx context.Context, params *s3.CopyObjectInput, optFns ...func(*s3.Options)) (*s3.CopyObjectOutput, error)
DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
}
S3Service updated for v2 signatures
Click to show internal directories.
Click to hide internal directories.