Skip to content

New File Uploader: HookHandler service

Summary

To be able to get notified on the server side when an upload is finished, the server has to implement a HookHandler service (see https://github.com/tus/tusd/blob/main/pkg/hooks/grpc/proto/hook.proto). This should probably run on its own (internal) port.

  • pre-create: validate and confirm upload request (+ test)
  • post-finish: move file to final destination (+ test)
  • post-finish: add file to database (+ test)
  • Add server.conf setting for HookHandler port
Edited by Joscha Schmiedt
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information