mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-11-25 19:37:41 +08:00
9 lines
452 B
Go
9 lines
452 B
Go
|
|
package model
|
||
|
|
|
||
|
|
type HttpDirectUploadInfo struct {
|
||
|
|
UploadURL string `json:"upload_url"` // The URL to upload the file
|
||
|
|
ChunkSize int64 `json:"chunk_size"` // The chunk size for uploading, 0 means no chunking required
|
||
|
|
Headers map[string]string `json:"headers,omitempty"` // Optional headers to include in the upload request
|
||
|
|
Method string `json:"method,omitempty"` // HTTP method, default is PUT
|
||
|
|
}
|