Documentation ¶
Index ¶
- type Printer
- func NewHistoryPrinter(request models.HistoryRequest) *Printer
- func NewLearnPrinter(filter models.ResultFilter, request models.LearnRequest) *Printer
- func NewMyListPrinter(filter models.ResultFilter, request models.MyListRequest) *Printer
- func NewNotePrinter(request models.NoteRequest) *Printer
- func NewPrinter(filter models.ResultFilter, request models.SearchRequest) *Printer
- func NewSearchPrinter(request models.SearchRequest) *Printer
- func NewTorrentPrinter(filter models.ResultFilter, request models.SearchTorrentRequest) *Printer
- func NewUpdatePrinter(filter models.ResultFilter, request models.UpdateRequest) *Printer
- func (p *Printer) PrintBanner()
- func (p *Printer) PrintHistoryResponses(responses []models.HistoryResponse)
- func (p *Printer) PrintMovie(movie models.Movie)
- func (p *Printer) PrintMyListResponses(responses []models.MyListResponse)
- func (p *Printer) PrintNoteResponses(responses []models.NoteResponse)
- func (p *Printer) PrintPhaseDone(phase int)
- func (p *Printer) PrintPhaseFail(phase int, description string)
- func (p *Printer) PrintPhaseStart(phase int, description string)
- func (p *Printer) PrintSearchResponses(min, max uint8, isMore bool, responses []models.SearchResponse)
- func (p *Printer) PrintTorrentResponses(min, max uint8, isMore bool, responses []models.SearchTorrentResponse)
- func (p *Printer) PrintUpdateMovieFailed(title, title2 string)
- func (p *Printer) PrintUpdateMovieSuccess(title string)
- type Searcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer struct { Filter models.ResultFilter RequestSearch models.SearchRequest RequestTorrent models.SearchTorrentRequest RequestHistory models.HistoryRequest RequestMyList models.MyListRequest RequestNote models.NoteRequest RequestLearn models.LearnRequest RequestUpdate models.UpdateRequest }
func NewHistoryPrinter ¶
func NewHistoryPrinter(request models.HistoryRequest) *Printer
func NewLearnPrinter ¶
func NewLearnPrinter(filter models.ResultFilter, request models.LearnRequest) *Printer
func NewMyListPrinter ¶
func NewMyListPrinter(filter models.ResultFilter, request models.MyListRequest) *Printer
func NewNotePrinter ¶
func NewNotePrinter(request models.NoteRequest) *Printer
func NewPrinter ¶
func NewPrinter(filter models.ResultFilter, request models.SearchRequest) *Printer
func NewSearchPrinter ¶
func NewSearchPrinter(request models.SearchRequest) *Printer
func NewTorrentPrinter ¶
func NewTorrentPrinter(filter models.ResultFilter, request models.SearchTorrentRequest) *Printer
func NewUpdatePrinter ¶
func NewUpdatePrinter(filter models.ResultFilter, request models.UpdateRequest) *Printer
func (*Printer) PrintBanner ¶
func (p *Printer) PrintBanner()
func (*Printer) PrintHistoryResponses ¶
func (p *Printer) PrintHistoryResponses(responses []models.HistoryResponse)
func (*Printer) PrintMovie ¶
func (*Printer) PrintMyListResponses ¶
func (p *Printer) PrintMyListResponses(responses []models.MyListResponse)
func (*Printer) PrintNoteResponses ¶
func (p *Printer) PrintNoteResponses(responses []models.NoteResponse)
func (*Printer) PrintPhaseDone ¶
func (*Printer) PrintPhaseFail ¶
func (*Printer) PrintPhaseStart ¶
func (*Printer) PrintSearchResponses ¶
func (p *Printer) PrintSearchResponses(min, max uint8, isMore bool, responses []models.SearchResponse)
func (*Printer) PrintTorrentResponses ¶
func (p *Printer) PrintTorrentResponses(min, max uint8, isMore bool, responses []models.SearchTorrentResponse)
func (*Printer) PrintUpdateMovieFailed ¶
func (*Printer) PrintUpdateMovieSuccess ¶
type Searcher ¶
type Searcher struct { MinSelectable uint8 MaxSelectable uint8 Request models.SearchRequest }
func NewSearcher ¶
func NewSearcher(request models.SearchRequest) *Searcher
func (*Searcher) GetSearchResponses ¶
func (s *Searcher) GetSearchResponses() []models.SearchResponse
Click to show internal directories.
Click to hide internal directories.