waffles

package
v0.0.0-...-c5679b9 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2017 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTitle

func ParseTitle(artist, title string, r *model.TorrentAndGroup) error

Types

type API

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

func NewAPI

func NewAPI(url, agent string) (*API, error)

func (*API) CreateDownloadURL

func (w *API) CreateDownloadURL(id int) (string, error)

func (*API) DoTorrent

func (w *API) DoTorrent(id int, params url.Values) ([]byte, error)

func (*API) DownloadTorrent

func (w *API) DownloadTorrent(id int) (io.ReadCloser, error)

func (*API) Login

func (w *API) Login(username, password string) error

func (*API) ParseTorrent

func (w *API) ParseTorrent(body []byte) (model.TorrentAndGroup, error)

Jump to

Keyboard shortcuts

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