package
Version:
v1.1.2
Opens a new window with list of versions in this module.
Published: Dec 27, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
const (
MovieSdHu Category = iota
MovieSdEn
MovieDvdHu
MovieDvdEn
MovieDvd9Hu
MovieDvd9En
MovieHdHu
MovieHdEn
SeriesSdHu
SeriesSdEn
SeriesDvdHu
SeriesDvdEn
SeriesHdHu
SeriesHdEn
Mp3Hu
Mp3En
LosslessHu
LosslessEn
Clip
GameIso
GameRip
Console
EbookHu
EbookEn
Iso
Misc
Mobile
XImg
XSd
XDvd
XHd
AllOwn
)
const (
Name Field = iota
Description
Imdb
Label
)
type PageInfo struct {
Current int `json:"current"`
Prev int `json:"prev"`
Next int `json:"next"`
}
type Params struct {
SearchPhrase string `json:"searchPhrase"`
Field Field `json:"field"`
Category Category `json:"category"`
SortField SortField `json:"sortField"`
SortMode SortMode `json:"sortMode"`
Page int `json:"page"`
}
type Result struct {
Torrents []*Torrent `json:"torrents"`
Page *PageInfo `json:"page"`
}
const (
ByName SortField = iota
ByUpload
BySize
ByDownloaded
BySeeders
ByLeechers
)
type Torrent struct {
Id string `json:"id"`
Title string `json:"title"`
AltTitle string `json:"altTitle"`
Uploaded string `json:"uploaded"`
Uploader string `json:"uploader"`
Size string `json:"size"`
Health string `json:"health"`
Seeds string `json:"seeds"`
Peers string `json:"peers"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.