Add yt-downloader
This commit is contained in:
8
api/internal/core/services/download/service.go
Normal file
8
api/internal/core/services/download/service.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package download
|
||||
|
||||
import "downloader/internal/core/entities"
|
||||
|
||||
type Service interface {
|
||||
Schedule(link string) (*entities.Download, error)
|
||||
Get(id string) (*entities.Download, error)
|
||||
}
|
Reference in New Issue
Block a user