qbittorrent_transfer

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: 5 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
}

func (Client) AlternativeSpeedLimitsEnabled

func (c Client) AlternativeSpeedLimitsEnabled() (bool, error)

func (Client) GetGlobalDownloadLimit

func (c Client) GetGlobalDownloadLimit() (int, error)

func (Client) GetGlobalUploadLimit

func (c Client) GetGlobalUploadLimit() (int, error)

func (Client) GetTransferInfo

func (c Client) GetTransferInfo() (*qbittorrent_model.TransferInfo, error)

func (Client) SetGlobalDownloadLimit

func (c Client) SetGlobalDownloadLimit(limit int) error

func (Client) SetGlobalUploadLimit

func (c Client) SetGlobalUploadLimit(limit int) error

func (Client) ToggleAlternativeSpeedLimits

func (c Client) ToggleAlternativeSpeedLimits() error

Jump to

Keyboard shortcuts

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