Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisplayableItem ¶
type DownloadEngine ¶
type DownloadEngine struct {
// contains filtered or unexported fields
}
func Initialize ¶
func Initialize(srcs []Downloadable, threads int) (d *DownloadEngine, err error)
func (*DownloadEngine) AppendDownload ¶
func (d *DownloadEngine) AppendDownload(dl Downloadable)
func (*DownloadEngine) Cancel ¶
func (d *DownloadEngine) Cancel()
func (*DownloadEngine) Destruct ¶
func (d *DownloadEngine) Destruct()
func (*DownloadEngine) Pause ¶
func (d *DownloadEngine) Pause()
func (*DownloadEngine) Resume ¶
func (d *DownloadEngine) Resume()
type Downloadable ¶
type DownloadableFile ¶
func (*DownloadableFile) ActualPath ¶
func (d *DownloadableFile) ActualPath() string
func (*DownloadableFile) AllocateFile ¶
func (d *DownloadableFile) AllocateFile(dir, name, ext string)
func (*DownloadableFile) Pause ¶
func (d *DownloadableFile) Pause()
func (*DownloadableFile) SetSource ¶
func (d *DownloadableFile) SetSource(url string)
func (*DownloadableFile) Start ¶
func (d *DownloadableFile) Start()
func (*DownloadableFile) Stop ¶
func (d *DownloadableFile) Stop()
type DownloadableMusic ¶
Click to show internal directories.
Click to hide internal directories.