MCPcopy
hub / github.com/autobrr/qui / JackettDownloader

Interface JackettDownloader

internal/services/dirscan/inject.go:50–52  ·  view source on GitHub ↗

JackettDownloader is the interface for downloading torrent files.

Source from the content-addressed store, hash-verified

48
49// JackettDownloader is the interface for downloading torrent files.
50type JackettDownloader interface {
51 DownloadTorrent(ctx context.Context, req jackett.TorrentDownloadRequest) ([]byte, error)
52}
53
54// TorrentAdder is the interface for adding torrents to qBittorrent.
55type TorrentAdder interface {

Callers 2

downloadTorrentMethod · 0.65

Implementers 6

Serviceinternal/services/jackett/service.go
Clientinternal/services/crossseed/gazellemus
mockJackettServiceinternal/api/handlers/torrents_add_tes
customMockJackettServiceinternal/api/handlers/torrents_add_tes
fullMockJackettServiceinternal/api/handlers/torrents_add_tes
customMockJackettServiceForHandlerinternal/api/handlers/torrents_add_tes

Calls

no outgoing calls

Tested by

no test coverage detected