Documentation ¶
Index ¶
- type API
- func (w *API) CreateDownloadURL(id int) (string, error)
- func (w *API) Do(action string, params url.Values, result interface{}) error
- func (w *API) GetAccount() (model.Account, error)
- func (w *API) GetCollage(id int, params url.Values) (model.CollageWithGroups, error)
- func (w *API) GetJSON(requestURL string, responseObj interface{}) error
- func (w *API) GetTorrent(id int, params url.Values) (model.TorrentAndGroup, error)
- func (w *API) GetTorrentGroup(id int, params url.Values) (model.GroupAndTorrents, error)
- func (w *API) Login(username, password string) error
- func (w *API) Logout() error
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) GetCollage ¶
func (*API) GetTorrent ¶
func (*API) GetTorrentGroup ¶
Click to show internal directories.
Click to hide internal directories.