You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
442 B

3 years ago
  1. package example
  2. import (
  3. "github.com/flipped-aurora/gin-vue-admin/server/global"
  4. )
  5. // file struct, 文件结构体
  6. type ExaFile struct {
  7. global.GVA_MODEL
  8. FileName string
  9. FileMd5 string
  10. FilePath string
  11. ExaFileChunk []ExaFileChunk
  12. ChunkTotal int
  13. IsFinish bool
  14. }
  15. // file chunk struct, 切片结构体
  16. type ExaFileChunk struct {
  17. global.GVA_MODEL
  18. ExaFileID uint
  19. FileChunkNumber int
  20. FileChunkPath string
  21. }