Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadTorrentStatus ¶
type DownloadTorrentStatus int
const ( TorrentDownloadTimeout DownloadTorrentStatus = 0 TorrentDownloaded DownloadTorrentStatus = 1 TorrentStatusUnknown DownloadTorrentStatus = 2 )
type DownloadTorrentUsecase ¶
type DownloadTorrentUsecase struct { fx.In Repo TorrentRepository Downloader TorrentDownloader Transmission TransmissionService Link ViewTorrentInUILink }
type Notification ¶
type TorrentDownloader ¶
type TorrentRepository ¶
type TransmissionService ¶
type TransmissionService interface { AddTorrent(filepath Filepath) (TransmissionTorrentId, error) WaitDone(torrentID TransmissionTorrentId) DownloadTorrentStatus }
type TransmissionTorrentId ¶
type TransmissionTorrentId int64
type ViewTorrentInUILink ¶
type ViewTorrentInUILink string
Click to show internal directories.
Click to hide internal directories.