mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-05-17 20:48:29 -05:00
325849b94a
* Add API call to download files and optionally not increasing counter, added Download API permission * Added option for presigned URLs and add download button in main menu * Breaking: Check that chunks are at least 5MB * Added docs * A lot of refactoring and minor fixes
18 lines
428 B
Go
18 lines
428 B
Go
package models
|
|
|
|
// UploadParameters is used to set parameters for a new upload
|
|
type UploadParameters struct {
|
|
UserId int
|
|
AllowedDownloads int
|
|
Expiry int
|
|
MaxMemory int
|
|
ExpiryTimestamp int64
|
|
RealSize int64
|
|
UnlimitedDownload bool
|
|
UnlimitedTime bool
|
|
IsEndToEndEncrypted bool
|
|
Password string
|
|
ExternalUrl string
|
|
FileRequestId string
|
|
}
|