Last active
January 19, 2021 19:13
-
-
Save umtkas/db5e58178a8f3b456b2035cdb52476f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type ImageSize struct { | |
WidthHeight string // 200x300 | |
Width int // 200px | |
Height int // 300px | |
} | |
type Configuration struct { | |
LocalImageDirectory string // /tmp - aws lambda function only has write permission on /tmp directory | |
UploadDirectory string // s3 bucket upload directory | |
ImageExtension string // png/jpg | |
IsSaveWithAspectRatio bool | |
ImageSizes []ImageSize | |
Region string // aws region | |
Bucket string // s3 bucket name | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment