Files
zurg/pkg/realdebrid/types.go
Ben Sarmiento da2c53bf86 Initial commit 🌈
2023-10-16 21:31:51 +02:00

24 lines
583 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"`
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"`
}