Commit Graph

11 Commits

Author SHA1 Message Date
Stefan Scheidewig 9d7096fcb3 Return ReadCloser in getReader 2022-06-03 22:39:27 +02:00
Marius 6d987aa226 core: Handle errors from reading request body centrally 2021-04-26 10:08:37 +02:00
Marius 97602c3d62 filestore: Handle os.ErrNotExist not in core handler 2021-04-25 23:17:42 +02:00
oliverpool e138fc3e9e filestore: Remove useless defer (#318)
Since the `file` is not used after the creation, its closing can be done without defer (and the err can be checked).
2019-10-23 18:51:36 +02:00
Marius b73d634b47 core: Pass Upload interfaces to ConcatUploads 2019-09-19 12:14:25 +02:00
Marius 485c21d72e core: Add context to DataStores
Closes https://github.com/tus/tusd/issues/288
2019-09-15 13:43:59 +02:00
Marius 2e688d5d38 filestore: Implement new interfaces 2019-08-26 11:41:52 +02:00
Marius 647c65a125 filestore: Drop the .bin suffix
Closes https://github.com/tus/tusd/issues/210
2019-08-19 13:03:42 +02:00
Marius a323c91a6e s3store: Add storage details 2019-08-19 10:38:08 +02:00
Marius c0c3a4d1d0 filestore: Add information about saved upload 2019-08-19 09:29:56 +02:00
Marius 42bfe35457 core: Move packages into pkg/ and internal/ folders 2019-06-11 18:23:20 +02:00