downloader

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DoFetch

func DoFetch(f Fetch, ms int) (recvd bool, err error)

func Wait

func Wait(ms int)

Types

type Downloader added in v0.0.5

type Downloader interface {
	Torrent
	Rss
}

type Fetch

type Fetch func() (recvd bool, err error)

type Rss added in v0.0.5

type Rss interface {
	GetTorrents() ([]string, error)
}

type Torrent added in v0.0.5

type Torrent interface {
	Add(magnet, path string)
	Process()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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