Commit Graph

6 Commits

Author SHA1 Message Date
Marius 12c10bf62f
v2: Rework hooks system (#516)
* ci: Remove plugin hook handler

* Rework error type from interface to struct

* Avoid writing to http.ResponseWriter directly

* Allow hooks to modify response

* Add example for HTTP hooks using Python

* Implement new plugin system using Hashicorp/go-plugin

* Enable returning partial HTTPResponses

* Remove some (unnecessary) error handling

* Forward stdout and stderr from plugin to tusd

* docs: Update examples

* cli: Update filehooks to new system

* cli: Renovate gRPC hooks

* docs: Correct casing of gRPC

* misc: Documentation, better examples, and code structure
2022-03-02 00:36:49 +01:00
Marius 48ffebec56
docs: Fix hook example when accessing upload metadata
Closes https://github.com/tus/tusd/issues/545
2021-10-29 11:01:47 +02:00
Marius e5a79650cf Use new URL for public tus demo server 2020-10-02 12:44:12 +02:00
Marius ec5f50090a
docs: Use value from Host header to forward to tusd 2020-06-24 13:35:35 +02:00
Marius 1e5ff7fe24 docs: Update server example for new package paths 2019-10-16 18:06:51 +02:00
Marius 76f8489d37 misc: Remove dots from folders 2019-09-12 13:10:51 +02:00