Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(db *storm.DB, piratebayURL string, results chan Searchresult, searchInterval time.Duration, m Searchmetrics)
Start starts the searcher that periodically searches for shows
Types ¶
type Searchmetrics ¶
type Searchmetrics struct { Enabled bool Searches prometheus.Counter FailedSearches prometheus.Counter SearchResults prometheus.Counter }
Searchmetrics contains everything related to metrics
Click to show internal directories.
Click to hide internal directories.