Documentation ¶
Index ¶
- type BrokenDownloadError
- type CancelledDownloadError
- type Download
- type FilesystemError
- type IOCopyError
- type InvalidFilenameError
- type Manager
- func (m *Manager) DeleteDownloadById(id string) error
- func (m *Manager) GetDownloadById(id string) (*Download, error)
- func (m *Manager) GetDownloadByUrl(url string) (*Download, error)
- func (m *Manager) ListDownloads() ([]*Download, error)
- func (m *Manager) StartDownload(file *Download, ctx context.Context) error
- type NetworkError
- type NonexistentDownloadError
- type Segment
- type SegmentDownloader
- type SegmentOverflowError
- type WorkerError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokenDownloadError ¶ added in v1.2.0
type BrokenDownloadError struct{}
func (BrokenDownloadError) Error ¶ added in v1.2.0
func (e BrokenDownloadError) Error() string
type CancelledDownloadError ¶ added in v1.2.0
type CancelledDownloadError string
func (CancelledDownloadError) Error ¶ added in v1.2.0
func (e CancelledDownloadError) Error() string
type Download ¶
type FilesystemError ¶ added in v1.2.0
type FilesystemError string
func (FilesystemError) Error ¶ added in v1.2.0
func (e FilesystemError) Error() string
type IOCopyError ¶ added in v1.2.0
type IOCopyError string
func (IOCopyError) Error ¶ added in v1.2.0
func (e IOCopyError) Error() string
type InvalidFilenameError ¶ added in v1.2.0
type InvalidFilenameError struct{}
func (InvalidFilenameError) Error ¶ added in v1.2.0
func (e InvalidFilenameError) Error() string
type Manager ¶ added in v1.2.0
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶ added in v1.2.0
func (*Manager) DeleteDownloadById ¶ added in v1.2.0
func (*Manager) GetDownloadById ¶ added in v1.2.0
func (*Manager) GetDownloadByUrl ¶ added in v1.2.0
func (*Manager) ListDownloads ¶ added in v1.2.0
type NetworkError ¶ added in v1.2.0
type NetworkError string
func (NetworkError) Error ¶ added in v1.2.0
func (e NetworkError) Error() string
type NonexistentDownloadError ¶ added in v1.2.0
type NonexistentDownloadError struct{}
func (NonexistentDownloadError) Error ¶ added in v1.2.0
func (e NonexistentDownloadError) Error() string
type SegmentDownloader ¶ added in v1.2.0
type SegmentOverflowError ¶ added in v1.2.0
type SegmentOverflowError struct{}
func (SegmentOverflowError) Error ¶ added in v1.2.0
func (e SegmentOverflowError) Error() string
type WorkerError ¶ added in v1.2.0
type WorkerError string
func (WorkerError) Error ¶ added in v1.2.0
func (e WorkerError) Error() string
Click to show internal directories.
Click to hide internal directories.