Documentation
¶
Index ¶
- Variables
- func GetLatest(p ParserInterface, shows []models.Show) []models.Episode
- func GetSeasonsConcurent(p ParserInterface, shows []models.Show, fn worker) []models.Show
- func Set(p []ParserInterface)
- func WorkerGetSeasons(p ParserInterface, jobs <-chan models.Show, results chan<- models.Show)
- type ParserInterface
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyString string = ""
EmptyString to use as pointer
Functions ¶
func GetLatest ¶
func GetLatest(p ParserInterface, shows []models.Show) []models.Episode
GetLatest from Service
func GetSeasonsConcurent ¶
func GetSeasonsConcurent(p ParserInterface, shows []models.Show, fn worker) []models.Show
GetSeasonsConcurent get seasons with channels. nrWorkers number of workers runs work in parallel
func WorkerGetSeasons ¶
func WorkerGetSeasons(p ParserInterface, jobs <-chan models.Show, results chan<- models.Show)
WorkerGetSeasons used to get Seasons on a given show
Types ¶
Click to show internal directories.
Click to hide internal directories.