-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws s3store #1224
Comments
Yes, you can by configuring different Lines 108 to 114 in fb5b620
|
Copy, will try to implement now and update in a while. |
Works as expected. Here is my full
Next question would be the |
I don't use |
Hi @Acconut , I have a new feature to add. The use-case is.
I'm blocked on how to get the |
You can use the PreUploadCallback in the Config struct to customize the upload ID. In the callback, the request information is also available. |
Thanks, maybe last concern is how the So it is like this.
Is there a function to generate such ID?
The |
As mentioned in https://tus.github.io/tusd/advanced-topics/hooks/#hook-requests-and-responses, the upload ID is null for the pre-create hook because tusd didn't generate one at this stage yet. You can just generate a random ID on your own. Tusd's default method for ID generation is not publicly exported but you can copy it if you want to: https://github.com/tus/tusd/blob/main/internal/uid/uid.go |
Question
Is it possible to separate actual files from
.info
?Setup works fine and as expected.
Setup details
Please provide following details, if applicable to your situation:
"github.com/tus/tusd/v2/pkg/handler"
package I used on my go code.The text was updated successfully, but these errors were encountered: