Documentation ¶
Index ¶
- func ParseTitle(artist, title string, r *model.TorrentAndGroup) error
- type API
- func (w *API) CreateDownloadURL(id int) (string, error)
- func (w *API) DoTorrent(id int, params url.Values) ([]byte, error)
- func (w *API) DownloadTorrent(id int) (io.ReadCloser, error)
- func (w *API) Login(username, password string) error
- func (w *API) ParseTorrent(body []byte) (model.TorrentAndGroup, error)
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 (*API) DownloadTorrent ¶
func (w *API) DownloadTorrent(id int) (io.ReadCloser, error)
func (*API) ParseTorrent ¶
func (w *API) ParseTorrent(body []byte) (model.TorrentAndGroup, error)
Click to show internal directories.
Click to hide internal directories.