2021-12-21 23:05:00 +01:00
|
|
|
package download
|
|
|
|
|
|
|
|
import "downloader/internal/core/entities"
|
|
|
|
|
|
|
|
type Service interface {
|
|
|
|
Schedule(link string) (*entities.Download, error)
|
|
|
|
Get(id string) (*entities.Download, error)
|
2021-12-22 02:10:01 +01:00
|
|
|
GetAll(active bool) ([]*entities.Download, error)
|
2021-12-21 23:05:00 +01:00
|
|
|
}
|