diff options
| author | 2022-07-03 12:08:30 +0200 | |
|---|---|---|
| committer | 2022-07-03 12:08:30 +0200 | |
| commit | 9d0df426da59275f7aeaf46004befe5a778da274 (patch) | |
| tree | 82c6bb98597e44c4f70b731336dcdfc839412c1c /vendor/modules.txt | |
| parent | [chore] Re-enable source tar but name it clearly as source (#683) (diff) | |
| download | gotosocial-9d0df426da59275f7aeaf46004befe5a778da274.tar.xz | |
[feature] S3 support (#674)
* feat: vendor minio client
* feat: introduce storage package with s3 support
* feat: serve s3 files directly
this saves a lot of bandwith as the files are fetched from the object
store directly
* fix: use explicit local storage in tests
* feat: integrate s3 storage with the main server
* fix: add s3 config to cli tests
* docs: explicitly set values in example config
also adds license header to the storage package
* fix: use better http status code on s3 redirect
HTTP 302 Found is the best fit, as it signifies that the resource
requested was found but not under its presumed URL
307/TemporaryRedirect would mean that this resource is usually located
here, not in this case
303/SeeOther indicates that the redirection does not link to the
requested resource but to another page
* refactor: use context in storage driver interface
Diffstat (limited to 'vendor/modules.txt')
| -rw-r--r-- | vendor/modules.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/vendor/modules.txt b/vendor/modules.txt index c2bc24c81..59438b970 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -77,6 +77,9 @@ github.com/dsoprea/go-png-image-structure/v2 ## explicit; go 1.12 github.com/dsoprea/go-utility/v2/filesystem github.com/dsoprea/go-utility/v2/image +# github.com/dustin/go-humanize v1.0.0 +## explicit +github.com/dustin/go-humanize # github.com/fsnotify/fsnotify v1.5.4 ## explicit; go 1.16 github.com/fsnotify/fsnotify @@ -211,6 +214,12 @@ github.com/json-iterator/go # github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 ## explicit github.com/kballard/go-shellquote +# github.com/klauspost/compress v1.13.6 +## explicit; go 1.15 +github.com/klauspost/compress/s2 +# github.com/klauspost/cpuid v1.3.1 +## explicit; go 1.12 +github.com/klauspost/cpuid # github.com/leodido/go-urn v1.2.1 ## explicit; go 1.13 github.com/leodido/go-urn @@ -227,6 +236,28 @@ github.com/microcosm-cc/bluemonday/css # github.com/miekg/dns v1.1.49 ## explicit; go 1.14 github.com/miekg/dns +# github.com/minio/md5-simd v1.1.0 +## explicit; go 1.14 +github.com/minio/md5-simd +# github.com/minio/minio-go/v7 v7.0.29 +## explicit; go 1.17 +github.com/minio/minio-go/v7 +github.com/minio/minio-go/v7/pkg/credentials +github.com/minio/minio-go/v7/pkg/encrypt +github.com/minio/minio-go/v7/pkg/lifecycle +github.com/minio/minio-go/v7/pkg/notification +github.com/minio/minio-go/v7/pkg/replication +github.com/minio/minio-go/v7/pkg/s3utils +github.com/minio/minio-go/v7/pkg/set +github.com/minio/minio-go/v7/pkg/signer +github.com/minio/minio-go/v7/pkg/sse +github.com/minio/minio-go/v7/pkg/tags +# github.com/minio/sha256-simd v0.1.1 +## explicit; go 1.12 +github.com/minio/sha256-simd +# github.com/mitchellh/go-homedir v1.1.0 +## explicit +github.com/mitchellh/go-homedir # github.com/mitchellh/mapstructure v1.5.0 ## explicit; go 1.14 github.com/mitchellh/mapstructure @@ -263,6 +294,9 @@ github.com/remyoudompheng/bigfft # github.com/robfig/cron/v3 v3.0.1 ## explicit; go 1.12 github.com/robfig/cron/v3 +# github.com/rs/xid v1.2.1 +## explicit +github.com/rs/xid # github.com/russross/blackfriday/v2 v2.1.0 ## explicit github.com/russross/blackfriday/v2 @@ -551,6 +585,7 @@ github.com/wagslane/go-password-validator ## explicit; go 1.17 golang.org/x/crypto/acme golang.org/x/crypto/acme/autocert +golang.org/x/crypto/argon2 golang.org/x/crypto/bcrypt golang.org/x/crypto/blake2b golang.org/x/crypto/blake2s @@ -582,6 +617,7 @@ golang.org/x/net/internal/iana golang.org/x/net/internal/socket golang.org/x/net/ipv4 golang.org/x/net/ipv6 +golang.org/x/net/publicsuffix # golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 ## explicit; go 1.11 golang.org/x/oauth2 |
