downloader/api/internal/core/services/download/background.go
2021-12-22 20:21:24 +01:00

11 lines
176 B
Go

package download
import (
"context"
"downloader/internal/core/entities"
)
type BackgroundService interface {
Run(ctx context.Context, download *entities.Download) error
}