mirror of
https://github.com/tgdrive/teldrive.git
synced 2024-11-15 12:18:07 +08:00
21 lines
473 B
Go
21 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"`
|
||
|
}
|