-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support Range header for GET * Adds 'Accept-Ranges: bytes' header to handlers * proper param name in error * bump gdrive dependecies * refactor CloseCheck to avoid panic on nil, remove range/audio/video special handling on get handler * refactor CloseCheck to avoid panic on nil, handle range with no limit * refactor CloseCheck to avoid panic on nil, handle range in gdrive storage * refactor CloseCheck to avoid panic on nil * handle range with no limit * lint * bump deps * go mod tidy * gofmt * cr fixes, replace deprecated ioutil.NopCloser * linting * do not write to file by default * fix storj --------- Co-authored-by: Vladislav Grubov <[email protected]>
- Loading branch information
Showing
10 changed files
with
414 additions
and
673 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,72 @@ | ||
module github.com/dutchcoders/transfer.sh | ||
|
||
go 1.15 | ||
go 1.18 | ||
|
||
require ( | ||
cloud.google.com/go v0.77.0 // indirect | ||
github.com/PuerkitoBio/ghost v0.0.0-20160324114900-206e6e460e14 | ||
github.com/VojtechVitek/ratelimit v0.0.0-20160722140851-dc172bc0f6d2 | ||
github.com/aws/aws-sdk-go v1.37.14 | ||
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect | ||
github.com/aws/aws-sdk-go v1.44.211 | ||
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e | ||
github.com/dutchcoders/go-virustotal v0.0.0-20140923143438-24cc8e6fa329 | ||
github.com/dutchcoders/transfer.sh-web v0.0.0-20220824020025-7240e75c3bb8 | ||
github.com/dutchcoders/transfer.sh-web v0.0.0-20221119114740-ca3a2621d2a6 | ||
github.com/elazarl/go-bindata-assetfs v1.0.1 | ||
github.com/fatih/color v1.10.0 | ||
github.com/garyburd/redigo v1.6.2 // indirect | ||
github.com/fatih/color v1.14.1 | ||
github.com/golang/gddo v0.0.0-20210115222349-20d68f94ee1f | ||
github.com/gorilla/handlers v1.5.1 | ||
github.com/gorilla/mux v1.8.0 | ||
github.com/gorilla/securecookie v1.1.1 // indirect | ||
github.com/microcosm-cc/bluemonday v1.0.16 | ||
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect | ||
github.com/microcosm-cc/bluemonday v1.0.22 | ||
github.com/russross/blackfriday/v2 v2.1.0 | ||
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e | ||
github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce | ||
github.com/urfave/cli v1.22.5 | ||
go.opencensus.io v0.22.6 // indirect | ||
golang.org/x/crypto v0.1.0 | ||
github.com/urfave/cli v1.22.12 | ||
golang.org/x/crypto v0.6.0 | ||
golang.org/x/net v0.7.0 | ||
golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99 | ||
google.golang.org/api v0.40.0 | ||
google.golang.org/genproto v0.0.0-20210218151259-fe80b386bf06 // indirect | ||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 | ||
storj.io/common v0.0.0-20220405183405-ffdc3ab808c6 | ||
storj.io/uplink v1.8.2 | ||
golang.org/x/oauth2 v0.5.0 | ||
google.golang.org/api v0.111.0 | ||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c | ||
storj.io/common v0.0.0-20230301105927-7f966760c100 | ||
storj.io/uplink v1.10.0 | ||
) | ||
|
||
require ( | ||
cloud.google.com/go/compute v1.18.0 // indirect | ||
cloud.google.com/go/compute/metadata v0.2.3 // indirect | ||
github.com/aymerick/douceur v0.2.0 // indirect | ||
github.com/calebcase/tmpfile v1.0.3 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect | ||
github.com/felixge/httpsnoop v1.0.3 // indirect | ||
github.com/flynn/noise v1.0.0 // indirect | ||
github.com/garyburd/redigo v1.6.4 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/google/uuid v1.3.0 // indirect | ||
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect | ||
github.com/googleapis/gax-go/v2 v2.7.0 // indirect | ||
github.com/gorilla/css v1.0.0 // indirect | ||
github.com/gorilla/securecookie v1.1.1 // indirect | ||
github.com/jmespath/go-jmespath v0.4.0 // indirect | ||
github.com/jtolio/eventkit v0.0.0-20230301123942-0cee1388f16f // indirect | ||
github.com/jtolio/noiseconn v0.0.0-20230227223919-bddcd1327059 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.4 // indirect | ||
github.com/kr/pretty v0.3.1 // indirect | ||
github.com/kr/text v0.2.0 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.17 // indirect | ||
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect | ||
github.com/rogpeppe/go-internal v1.9.0 // indirect | ||
github.com/spacemonkeygo/monkit/v3 v3.0.19 // indirect | ||
github.com/vivint/infectious v0.0.0-20200605153912-25a574ae18a3 // indirect | ||
github.com/zeebo/blake3 v0.2.3 // indirect | ||
github.com/zeebo/errs v1.3.0 // indirect | ||
go.opencensus.io v0.24.0 // indirect | ||
golang.org/x/sync v0.1.0 // indirect | ||
golang.org/x/sys v0.5.0 // indirect | ||
golang.org/x/text v0.7.0 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/genproto v0.0.0-20230227214838-9b19f0bdc514 // indirect | ||
google.golang.org/grpc v1.53.0 // indirect | ||
google.golang.org/protobuf v1.28.1 // indirect | ||
storj.io/drpc v0.0.33-0.20230204035225-c9649dee8f2a // indirect | ||
storj.io/picobuf v0.0.1 // indirect | ||
) |
Oops, something went wrong.