Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
type Client ¶
type Client struct { Url string Ratelimiter *rate.Limiter APIUser string APIKey string // contains filtered or unexported fields }
func (*Client) GetTorrentByID ¶
type Torrent ¶
type Torrent struct { Id string `json:"Id"` InfoHash string `json:"InfoHash"` Quality string `json:"Quality"` Source string `json:"Source"` Container string `json:"Container"` Codec string `json:"Codec"` Resolution string `json:"Resolution"` Size string `json:"Size"` Scene bool `json:"Scene"` UploadTime string `json:"UploadTime"` Snatched string `json:"Snatched"` Seeders string `json:"Seeders"` Leechers string `json:"Leechers"` ReleaseName string `json:"ReleaseName"` ReleaseGroup *string `json:"ReleaseGroup"` Checked bool `json:"Checked"` GoldenPopcorn bool `json:"GoldenPopcorn"` RemasterTitle string `json:"RemasterTitle,omitempty"` }
type TorrentResponse ¶
type TorrentResponse struct { Page string `json:"Page"` Result string `json:"Result"` GroupId string `json:"GroupId"` Name string `json:"Name"` Year string `json:"Year"` CoverImage string `json:"CoverImage"` AuthKey string `json:"AuthKey"` PassKey string `json:"PassKey"` TorrentId string `json:"TorrentId"` ImdbId string `json:"ImdbId"` ImdbRating string `json:"ImdbRating"` ImdbVoteCount int `json:"ImdbVoteCount"` Torrents []Torrent `json:"Torrents"` }
Click to show internal directories.
Click to hide internal directories.