qbittorrent_search

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BaseUrl string
	Client  *http.Client
	Logger  *zerolog.Logger
}

func (Client) Delete

func (c Client) Delete(id int) error

func (Client) EnablePlugins

func (c Client) EnablePlugins(plugins []string, enable bool) error

func (Client) GetCategories

func (c Client) GetCategories(plugins []string) ([]string, error)

func (Client) GetPlugins

func (c Client) GetPlugins() ([]qbittorrent_model.SearchPlugin, error)

func (Client) GetResults

func (c Client) GetResults(id, limit, offset int) (*qbittorrent_model.SearchResultsPaging, error)

func (Client) GetStatus

func (c Client) GetStatus(id int) (*qbittorrent_model.SearchStatus, error)

func (Client) GetStatuses

func (c Client) GetStatuses() ([]*qbittorrent_model.SearchStatus, error)

func (Client) InstallPlugins

func (c Client) InstallPlugins(sources []string) error

func (Client) Start

func (c Client) Start(pattern string, plugins, categories []string) (int, error)

func (Client) Stop

func (c Client) Stop(id int) error

func (Client) UninstallPlugins

func (c Client) UninstallPlugins(plugins []string) error

Jump to

Keyboard shortcuts

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