Skip to content

Commit

Permalink
Merge pull request #173 from Two-Faces/main
Browse files Browse the repository at this point in the history
Added support of endpoints for type s3
  • Loading branch information
thoas authored Jul 4, 2023
2 parents 619453a + 9fc0f0e commit 00425c2
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ Store images on Amazon S3, keys in Redis and shard filename
"bucket_name": "[BUCKET_NAME]",
"acl": "[ACL]",
"region": "[REGION_NAME]",
"location": "path/to/directory"
"location": "path/to/directory",
"endpoint": "[protocol://service-code.region-code.amazonaws.com]"
}
},
"shard": {
Expand Down Expand Up @@ -262,7 +263,8 @@ Load images from file system and store them in Amazon S3, keys on Redis cluster
"bucket_name": "[BUCKET_NAME]",
"acl": "[ACL]",
"region": "[REGION_NAME]",
"location": "path/to/directory"
"location": "path/to/directory",
"endpoint": "[protocol://service-code.region-code.amazonaws.com]"
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ require (
github.com/gin-gonic/contrib v0.0.0-20201101042839-6a891bf89f19
github.com/gin-gonic/gin v1.9.1
github.com/go-playground/validator/v10 v10.14.0 // indirect
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
github.com/k0kubun/pp v3.0.1+incompatible
github.com/lucasb-eyer/go-colorful v0.0.0-20180709185858-c7842319cf3a
github.com/mattn/go-isatty v0.0.19 // indirect
Expand Down Expand Up @@ -49,7 +48,6 @@ require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
Expand Down
Loading

0 comments on commit 00425c2

Please sign in to comment.