-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstructs.go
34 lines (30 loc) · 1.03 KB
/
structs.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package eztv
type Page struct {
ImdbID string `json:"imdb_id"`
TorrentsCount int `json:"torrents_count"`
Limit int `json:"limit"`
Page int `json:"page"`
Torrents []Torrent `json:"torrents"`
}
type Torrent struct {
ID int `json:"id"`
Hash string `json:"hash"`
Filename string `json:"filename"`
EpisodeURL string `json:"episode_url"`
TorrentURL string `json:"torrent_url"`
MagnetURL string `json:"magnet_url"`
Title string `json:"title"`
ImdbID string `json:"imdb_id"`
Season string `json:"season"`
Episode string `json:"episode"`
SmallScreenshotURL string `json:"small_screenshot"`
LargeScreenshotURL string `json:"large_screenshot"`
Seeds int `json:"seeds"`
Peers int `json:"peers"`
DateReleasedUnix int `json:"date_released_unix"`
SizeBytes string `json:"size_bytes"`
}
type StreamTorrent struct {
Torrent
Err error
}