Initial commit 🌈
This commit is contained in:
23
pkg/realdebrid/types.go
Normal file
23
pkg/realdebrid/types.go
Normal file
@@ -0,0 +1,23 @@
|
||||
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"`
|
||||
Streamable int `json:"streamable,omitempty"`
|
||||
}
|
||||
|
||||
type Torrent struct {
|
||||
Filename string `json:"filename"`
|
||||
Hash string `json:"hash"`
|
||||
Progress int `json:"progress"`
|
||||
Added string `json:"added"`
|
||||
Links []string `json:"links"`
|
||||
}
|
||||
Reference in New Issue
Block a user