Documentation ¶
Index ¶
- func HandlerIndex(w http.ResponseWriter, r *http.Request)
- type Indexer
- func (i *Indexer) HandlerBluDVIndexer(w http.ResponseWriter, r *http.Request)
- func (i *Indexer) HandlerComandoIndexer(w http.ResponseWriter, r *http.Request)
- func (i *Indexer) HandlerManualIndexer(w http.ResponseWriter, r *http.Request)
- func (i *Indexer) HandlerTorrentDosFilmesIndexer(w http.ResponseWriter, r *http.Request)
- type IndexerMeta
- type ManualIndexerRequest
- type MeilisearchHandler
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerIndex ¶
func HandlerIndex(w http.ResponseWriter, r *http.Request)
Types ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
func NewIndexers ¶
func NewIndexers(redis *cache.Redis, metrics *monitoring.Metrics, req *requester.Requster, si *meilisearch.SearchIndexer) *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)
func (*Indexer) HandlerManualIndexer ¶ added in v0.5.0
func (i *Indexer) HandlerManualIndexer(w http.ResponseWriter, r *http.Request)
func (*Indexer) HandlerTorrentDosFilmesIndexer ¶ added in v0.7.0
func (i *Indexer) HandlerTorrentDosFilmesIndexer(w http.ResponseWriter, r *http.Request)
type IndexerMeta ¶
type ManualIndexerRequest ¶ added in v0.5.0
type ManualIndexerRequest struct {
MagnetLink string `json:"magnetLink"`
}
type MeilisearchHandler ¶ added in v0.8.0
type MeilisearchHandler struct {
Module *meilisearch.SearchIndexer
}
MeilisearchHandler handles HTTP requests for Meilisearch integration.
func NewMeilisearchHandler ¶ added in v0.8.0
func NewMeilisearchHandler(module *meilisearch.SearchIndexer) *MeilisearchHandler
NewMeilisearchHandler creates a new instance of MeilisearchHandler.
func (*MeilisearchHandler) SearchTorrentHandler ¶ added in v0.8.0
func (h *MeilisearchHandler) SearchTorrentHandler(w http.ResponseWriter, r *http.Request)
SearchTorrentHandler handles the searching of torrent items.
type Response ¶
type Response struct { Results []schema.IndexedTorrent `json:"results"` Count int `json:"count"` }
Click to show internal directories.
Click to hide internal directories.