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
+2 -2
View File
@@ -35,7 +35,7 @@ func TestS3_FileUpload(t *testing.T) {
},
args: args{
UploadInput{
Bucket: "zerodha-testbucket",
Bucket: os.Getenv("AWS_S3_BUCKET"),
ObjectKey: "test.txt",
ContentType: "text/plain",
FileName: "test.txt",
@@ -79,7 +79,7 @@ func TestS3_FileDelete(t *testing.T) {
},
args: args{
DeleteInput{
Bucket: "zerodha-testbucket",
Bucket: os.Getenv("AWS_S3_BUCKET"),
ObjectKey: "test.txt",
},
},