tus
- tus/tusd
- MIT, Golang
- 支持暂停恢复
- SDK for JS, Java, iOS, Python, NodeJS, .NET
- tus v1 协议
- tus v2 被 httpwg 采用
- 参考
- tus/tus-node-server
- NodeJS server
- tus/tus-js-client
- tus/tus-node-server
tusd -upload-dir=./data
export AWS_ACCESS_KEY_ID=xxxxx
export AWS_SECRET_ACCESS_KEY=xxxxx
export AWS_REGION=eu-west-1
tusd -s3-bucket=my-test-bucket.com -s3-endpoint=minio -s3-object-prefix=upload -show-greeting=false
hooks
- Type
- script
- http
- gRPC
- golang plugin
- Hook
- pre-create
- post-create
- post-receive
- 默认未开启
- pre-finish
- post-finish
- post-terminate
- Model
tusd --hooks-http http://localhost:8081/write --hooks-http-retry 5 --hooks-http-backoff 2