tusd/examples
Marius 71765b61e4
hooks: Allow pre-create to change upload ID, meta data and storage details (#962)
* hooks: Allow pre-create to change upload ID, meta data and storage details

* fixup! hooks: Allow pre-create to change upload ID, meta data and storage details

* hooks: Add support for ChangeFileInfo in gRPC
2023-06-20 11:32:51 +02:00
..
hooks hooks: Allow pre-create to change upload ID, meta data and storage details (#962) 2023-06-20 11:32:51 +02:00
server Add v2 to module name 2023-03-08 13:03:18 +01:00
README.md v2: Rework hooks system (#516) 2022-03-02 00:36:49 +01:00
apache2.conf misc: Remove dots from folders 2019-09-12 13:10:51 +02:00
docker-compose.yml docker: Allow passing secrects using files (#810) 2022-09-19 09:34:37 +02:00
nginx.conf Use new URL for public tus demo server 2020-10-02 12:44:12 +02:00

README.md

Examples

This directory contains following examples:

  • apache2.conf is the recommended minimum configuration for an Apache2 proxy in front of tusd.
  • nginx.conf is the recommended minimum configuration for an Nginx proxy in front of tusd.
  • server/ is an example of how to the tusd package embedded in your own Go application.
  • hooks/file/ are Bash scripts for file hook implementations.
  • hooks/http/ is a Python HTTP server as the HTTP hook implementation.
  • hooks/grpc/ is a Python gRPC server as the gRPC hook implementation.
  • hooks/plugin/ is a Go plugin usable with the plugin hooks.