Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerIndex ¶
func HandlerIndex(w http.ResponseWriter, r *http.Request)
Types ¶
type IndexedTorrent ¶
type IndexedTorrent struct { Title string `json:"title"` OriginalTitle string `json:"original_title"` Details string `json:"details"` Year string `json:"year"` IMDB string `json:"imdb"` Audio []schema.Audio `json:"audio"` MagnetLink string `json:"magnet_link"` Date time.Time `json:"date"` InfoHash string `json:"info_hash"` Trackers []string `json:"trackers"` Size string `json:"size"` LeechCount int `json:"leech_count"` SeedCount int `json:"seed_count"` Similarity float32 `json:"similarity"` }
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
func NewIndexers ¶
func NewIndexers(redis *cache.Redis, metrics *monitoring.Metrics) *Indexer
func (*Indexer) HandlerBluDVIndexer ¶
func (i *Indexer) HandlerBluDVIndexer(w http.ResponseWriter, r *http.Request)
func (*Indexer) HandlerComandoIndexer ¶
func (i *Indexer) HandlerComandoIndexer(w http.ResponseWriter, r *http.Request)
type IndexerMeta ¶
type Response ¶
type Response struct { Results []IndexedTorrent `json:"results"` Count int `json:"count"` }
Click to show internal directories.
Click to hide internal directories.