Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByFilename ¶
ByFilename helper struct to sort chunk files. Since chunk files are named their chunk number it is easy to sort them out.
func (ByFilename) Len ¶
func (a ByFilename) Len() int
func (ByFilename) Less ¶
func (a ByFilename) Less(i, j int) bool
func (ByFilename) Swap ¶
func (a ByFilename) Swap(i, j int)
type Service ¶
type Service struct {
FileService baas.FileService
UsageService baas.UsageService
ApplicationService baas.ApplicationService
ChunkUploadDir string
FullFileDir string
MaxChunkSize int64
MaxUploadFileSize int64
Log zerolog.Logger
}
func (*Service) ChunkUpload ¶
func (*Service) CompleteChunkUpload ¶
Click to show internal directories.
Click to hide internal directories.