depot/web/fup
Luke Granger-Brown 08098fb666 fup: add file serving
This adds both redirect-to-signed-URL and proxy fileserving.

The proxy fileserving is somewhat limited: we don't support the Range header,
and it isn't easy to reuse the net/http ServeContent implementation because
that requires a SeekCloser. I think it might be possible to "bodge" a
SeekCloser on top of dynamically opening files, but it'll be a bit wonky and
will be slower than strictly necessary.
2021-03-21 03:04:38 +00:00
..
cmd fup: add file serving 2021-03-21 03:04:38 +00:00
fuphttp fup: add file serving 2021-03-21 03:04:38 +00:00
fupstatic fup: add a template function for getting paths to static assets 2021-03-21 03:03:15 +00:00
hashfs fup: move hashfs into its own package. 2021-03-20 23:43:59 +00:00
default.nix fup: add SPDX headers 2021-03-20 20:40:40 +00:00
fup.go fup: add viper for persistent config 2021-03-20 23:32:56 +00:00
go.mod fup: add viper for persistent config 2021-03-20 23:32:56 +00:00
go.sum fup: add viper for persistent config 2021-03-20 23:32:56 +00:00
go.sum.license fup: add SPDX headers 2021-03-20 20:40:40 +00:00