qbittorrent_util

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInto

func GetInto(client *http.Client, target interface{}, url string, body interface{}) (err error)

func GetIntoWithContentType

func GetIntoWithContentType(client *http.Client, target interface{}, url string, body io.Reader, contentType string) (err error)

func NewCmd

func NewCmd(arg string, args ...string) *exec.Cmd

func NewCmdCtx

func NewCmdCtx(ctx context.Context, arg string, args ...string) *exec.Cmd

func Post

func Post(client *http.Client, url string, body interface{}) (err error)

func PostMultipartFiles

func PostMultipartFiles(client *http.Client, url string, options *qbittorrent_model.AddTorrentsOptions, files map[string][]byte) (err error)
func PostMultipartLinks(client *http.Client, url string, options *qbittorrent_model.AddTorrentsOptions, links []string) (err error)

func PostWithContentType

func PostWithContentType(client *http.Client, url string, body io.Reader, contentType string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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