debrid

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Process

func Process(ctx context.Context, store *Storage, selectedDebrid string, magnet *utils.Magnet, a *arr.Arr, action string, overrideDownloadUncached bool) (*types.Torrent, error)

Types

type Debrid

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

func (*Debrid) Cache

func (de *Debrid) Cache() *debridStore.Cache

func (*Debrid) Client

func (de *Debrid) Client() common.Client

func (*Debrid) Reset added in v1.1.0

func (de *Debrid) Reset()

type Storage

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

func NewStorage

func NewStorage(rcManager *rclone.Manager) *Storage

func (*Storage) Caches

func (d *Storage) Caches() map[string]*debridStore.Cache

func (*Storage) Client

func (d *Storage) Client(name string) common.Client

func (*Storage) Clients

func (d *Storage) Clients() map[string]common.Client

func (*Storage) Debrid

func (d *Storage) Debrid(name string) *Debrid

func (*Storage) Debrids

func (d *Storage) Debrids() map[string]*Debrid

func (*Storage) FilterClients

func (d *Storage) FilterClients(filter func(common.Client) bool) map[string]common.Client

func (*Storage) Reset

func (d *Storage) Reset()

func (*Storage) StartWorker added in v1.1.2

func (d *Storage) StartWorker(ctx context.Context) error

Directories

Path Synopsis
providers

Jump to

Keyboard shortcuts

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