Documentation ¶ Index ¶ type Job type Manager func NewManager(concurrentDLs int64) *Manager func (p *Manager) Add(j Job) func (p *Manager) Close() func (p *Manager) Errors() (bool, []Job) func (p *Manager) QueryStats() (queued, completed int) func (p *Manager) Start(queueLength int) chan Job func (p *Manager) Wait() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Job ¶ type Job struct { URL string Path string Name string Redownload bool } type Manager ¶ type Manager struct { // contains filtered or unexported fields } func NewManager ¶ func NewManager(concurrentDLs int64) *Manager func (*Manager) Add ¶ func (p *Manager) Add(j Job) func (*Manager) Close ¶ func (p *Manager) Close() func (*Manager) Errors ¶ func (p *Manager) Errors() (bool, []Job) func (*Manager) QueryStats ¶ func (p *Manager) QueryStats() (queued, completed int) func (*Manager) Start ¶ func (p *Manager) Start(queueLength int) chan Job func (*Manager) Wait ¶ func (p *Manager) Wait() Source Files ¶ View all Source files downloadManager.go mimetypes.go path.go Click to show internal directories. Click to hide internal directories.