mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-01-07 17:39:34 -06:00
* Added WASM module for e2e * Added cmd util to read database * Changed to go 1.19 * Fixed crash with random string generator * Fixed typos and tests * Host service worker on github
16 lines
359 B
Go
16 lines
359 B
Go
package models
|
|
|
|
// UploadRequest is used to set an upload request
|
|
type UploadRequest struct {
|
|
AllowedDownloads int
|
|
Expiry int
|
|
ExpiryTimestamp int64
|
|
Password string
|
|
ExternalUrl string
|
|
MaxMemory int
|
|
UnlimitedDownload bool
|
|
UnlimitedTime bool
|
|
IsEndToEndEncrypted bool
|
|
RealSize int64
|
|
}
|