torrentsinfra

package
v0.0.0-...-1bd92a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

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 PollStatusDuration time.Duration

type PollStatusTimeout

type PollStatusTimeout time.Duration

type RutrackerTorrentsRepository

type RutrackerTorrentsRepository struct {
	// contains filtered or unexported fields
}

func (*RutrackerTorrentsRepository) FindByID

func (*RutrackerTorrentsRepository) FindByName

func (re *RutrackerTorrentsRepository) FindByName(ctx context.Context, name string) ([]domain.Torrent, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL