Files
zurg/pkg/realdebrid/types.go
2023-10-17 10:50:10 +02:00

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"`
}