Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadJob ¶
type DownloadResult ¶
type DownloadResult struct {
Job DownloadJob
Error error
}
type FileWriter ¶
type FileWriter struct {
// contains filtered or unexported fields
}
func NewFileWriter ¶
func NewFileWriter() *FileWriter
func (*FileWriter) CloseAll ¶
func (fw *FileWriter) CloseAll()
func (*FileWriter) PreAllocate ¶
func (fw *FileWriter) PreAllocate(path string, size int64) error
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(ctx *app.Context, writer *FileWriter) *Service
Click to show internal directories.
Click to hide internal directories.