23 lines
524 B
Go
23 lines
524 B
Go
package realdebrid
|
|
|
|
type FileJSON struct {
|
|
FileSize int `json:"filesize"`
|
|
Link string `json:"link"`
|
|
}
|
|
|
|
type UnrestrictResponse struct {
|
|
Filename string `json:"filename"`
|
|
Filesize int64 `json:"filesize"`
|
|
Link string `json:"link"`
|
|
Host string `json:"host"`
|
|
Download string `json:"download,omitempty"`
|
|
}
|
|
|
|
type Torrent struct {
|
|
Filename string `json:"filename"`
|
|
Hash string `json:"hash"`
|
|
Progress int `json:"progress"`
|
|
Added string `json:"added"`
|
|
Links []string `json:"links"`
|
|
}
|