Documentation ¶
Index ¶
- func Download(session *session.Session, bucket, key, path string)
- func DownloadFile(url, path string)
- func GetPresignedURL(session *session.Session, bucket, key string) (string, error)
- func UploadDirectory(session *session.Session, bucket, key, dir string, keep bool)
- func UploadFile(session *session.Session, bucket, key string, file *os.File)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func DownloadFile(url, path string)
DownloadFile using result of GetPresignedURL for downloading file by pre-signed URL
func GetPresignedURL ¶
GetPresignedURL generate pre-signed URL, which can be used for download file
func UploadDirectory ¶
UploadDirectory will upload directory and all it's content while keeping it structure
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.