feat: Presigned URLs

This commit is contained in:
Rohan Verma
2018-12-24 13:36:29 +05:30
parent 41b1c70183
commit d218b23f05
7 changed files with 242 additions and 5 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ defer testTxt.Close()
s3 := simples3.New(Region, AWSAccessKey, AWSSecretKey)
err := s3.FileUpload(simples3.UploadInput{
Bucket: "zerodha-testbucket",
Bucket: AWSBucket,
ObjectKey: "test.txt",
ContentType: "text/plain",
FileName: "test.txt",