exa_breakpoint_continue.go 442 B

123456789101112131415161718192021222324
  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. }