Documentation ¶
Index ¶
- Variables
- func NewDownloader(client *rutracker.RutrackerClient, dir DownloadTorrentsDir) application.TorrentDownloader
- func NewRutrackerTorrentRepository(client *rutracker.RutrackerClient, logger logging.Logger) application.TorrentRepository
- func NewTransmissionService(client *transmission.TransmissionClient, pollStatusDuration PollStatusDuration, ...) application.TransmissionService
- type DownloadTorrentsDir
- type PollStatusDuration
- type PollStatusTimeout
- type RutrackerTorrentsRepository
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide( NewRutrackerTorrentRepository, NewDownloader, NewTransmissionService, ), )
Functions ¶
func NewDownloader ¶
func NewDownloader(client *rutracker.RutrackerClient, dir DownloadTorrentsDir) application.TorrentDownloader
func NewRutrackerTorrentRepository ¶
func NewRutrackerTorrentRepository( client *rutracker.RutrackerClient, logger logging.Logger, ) application.TorrentRepository
func NewTransmissionService ¶
func NewTransmissionService( client *transmission.TransmissionClient, pollStatusDuration PollStatusDuration, pollStatusTimeout PollStatusTimeout, ) application.TransmissionService
Types ¶
type DownloadTorrentsDir ¶
type DownloadTorrentsDir string
type PollStatusDuration ¶
type PollStatusTimeout ¶
type RutrackerTorrentsRepository ¶
type RutrackerTorrentsRepository struct {
// contains filtered or unexported fields
}
func (*RutrackerTorrentsRepository) FindByName ¶
Click to show internal directories.
Click to hide internal directories.