feat: initial commit
This commit is contained in:
7
internal/domain/port/file_downloader.go
Normal file
7
internal/domain/port/file_downloader.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package port
|
||||
|
||||
import "context"
|
||||
|
||||
type FileDownloader interface {
|
||||
Download(ctx context.Context, fileID string) ([]byte, string, error) // bytes, mimeType, error
|
||||
}
|
||||
Reference in New Issue
Block a user