mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 15:00:27 +08:00
19 lines
385 B
Go
19 lines
385 B
Go
package models
|
|
|
|
//
|
|
type FileChunk struct {
|
|
Id uint32 `field:"id"` // ID
|
|
FileId uint32 `field:"fileId"` // 文件ID
|
|
Data []byte `field:"data"` // 分块内容
|
|
}
|
|
|
|
type FileChunkOperator struct {
|
|
Id interface{} // ID
|
|
FileId interface{} // 文件ID
|
|
Data interface{} // 分块内容
|
|
}
|
|
|
|
func NewFileChunkOperator() *FileChunkOperator {
|
|
return &FileChunkOperator{}
|
|
}
|