torrent

package
v0.0.0-...-ef8624d Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

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

func NewDownloader

func NewDownloader(dataDir string, db *gorm.DB) *Downloader

func (*Downloader) Delete

func (dr *Downloader) Delete(d *entity.Download) error

func (*Downloader) Download

func (dr *Downloader) Download(d *entity.Download) error

func (*Downloader) GetFilePathsInOrder

func (dr *Downloader) GetFilePathsInOrder(d *entity.Download) ([]string, error)

Jump to

Keyboard shortcuts

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