mirror of
https://github.com/tgdrive/teldrive.git
synced 2024-11-10 09:02:52 +08:00
20 lines
473 B
Go
20 lines
473 B
Go
package schemas
|
|
|
|
type UploadQuery struct {
|
|
Filename string `form:"fileName"`
|
|
PartNo int `form:"partNo,omitempty"`
|
|
TotalParts int `form:"totalparts"`
|
|
}
|
|
|
|
type UploadPartOut struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
PartId int `json:"partId"`
|
|
PartNo int `json:"partNo"`
|
|
TotalParts int `json:"totalParts"`
|
|
ChannelID int64 `json:"channelId"`
|
|
}
|
|
|
|
type UploadOut struct {
|
|
Parts []UploadPartOut `json:"parts"`
|
|
}
|