Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSearchMovieSearchService ¶
func NewSearchMovieSearchService(searchMovieRepository repository.SearchMovieRepository) *searchMovieService
func NewTmdbService ¶
func NewTmdbService(tmdbRepository repository.TmdbRepository) *tmdbService
Types ¶
type SearchMovieService ¶
type SearchMovieService interface { CreateOrUpdateSearchMovie(newSearchMovie model.CreateSearchMovieRequest) error GetPopularSearchMovies() ([]model.SearchMovie, error) }
type TmdbService ¶
type TmdbService interface { GetPopularMovieFromTmdb(page int) ([]model.PopularTmdbResponse, error) GetMovieDetailFromTmdb(movieId int) (model.TmdbMovieDetailResponse, error) GetPopularSeriesFromTmdb(page int) ([]model.PopularTmdbResponse, error) GetSerieDetailFromTmdb(movieId int) (model.TmdbSerieDetailResponse, error) }
Click to show internal directories.
Click to hide internal directories.