tusd/pkg/handler
Marius e52139f977
v2: Implement cancelable lock mechanism (#667)
* handler: Implement prototype of new locking back-end

* memorylocker2: Switch to channel for release notification

* handler: Update locker interface

* handler: Add method to close body with error

* memorylocker: Replace with new implementation

* filelocker: Adjust methods to match interface

* handler: Introduce new httpContext

* handler: Implement upload interruption

* handler: Adjust tests to new inferfaces

* handler, memorylocker: Cancel context to avoid leaks
2022-03-19 23:21:17 +01:00
..
body_reader.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
composer.go core: Replace old LockerDataStore with new Locker 2019-09-12 12:37:43 +02:00
composer.mgo core: Remove deprecated DataStore option 2019-08-20 16:16:05 +02:00
composer_test.go core: Add back composer_test 2019-08-26 20:41:00 +02:00
concat_test.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
config.go v2: Rework hooks system (#516) 2022-03-02 00:36:49 +01:00
config_test.go core: Add context to DataStores 2019-09-15 13:43:59 +02:00
context.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
cors_test.go Merge branch 'master' of github.com:tus/tusd 2020-04-06 12:24:05 +02:00
datastore.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
doc.go core: Move packages into pkg/ and internal/ folders 2019-06-11 18:23:20 +02:00
error.go v2: Rework hooks system (#516) 2022-03-02 00:36:49 +01:00
get_test.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
handler.go WIP on DataStore refactor 2019-08-24 15:14:51 +02:00
handler_mock_test.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
head_test.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
hooks.go v2: Rework hooks system (#516) 2022-03-02 00:36:49 +01:00
http.go v2: Rework hooks system (#516) 2022-03-02 00:36:49 +01:00
log.go core: Move packages into pkg/ and internal/ folders 2019-06-11 18:23:20 +02:00
metrics.go v2: Rework hooks system (#516) 2022-03-02 00:36:49 +01:00
options_test.go core: Refactor DataStore 2019-08-25 22:10:55 +02:00
patch_test.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
post_test.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
subtest_test.go WIP on DataStore refactor 2019-08-24 15:14:51 +02:00
terminate_test.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
unrouted_handler.go v2: Implement cancelable lock mechanism (#667) 2022-03-19 23:21:17 +01:00
unrouted_handler_test.go Allow empty metadata values 2020-06-20 13:24:07 +02:00
utils_test.go gcsstore: Remove unnecessary typecasts and unused mocks (#313) 2019-10-09 14:44:13 +02:00