downloader/api/internal/core/services/download/service.go

10 lines
235 B
Go
Raw Normal View History

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
}