Documentation ¶
Index ¶
- Constants
- Variables
- func MovieDetailsToMovieModel(details tmdb.MovieDetailsResponse) (movie model.Content, err error)
- func TvShowDetailsToTvShowModel(details tmdb.TvDetailsResponse) (movie model.Content, err error)
- type Client
- type MovieClient
- type Params
- type Result
- type SearchMovieParams
- type SearchTvShowParams
- type TvShowClient
Constants ¶
View Source
const SourceImdb = "imdb"
View Source
const SourceTmdb = "tmdb"
View Source
const SourceTvdb = "tvdb"
Variables ¶
View Source
var (
ErrUnknownSource = errors.New("unknown source")
)
Functions ¶
func MovieDetailsToMovieModel ¶
func MovieDetailsToMovieModel(details tmdb.MovieDetailsResponse) (movie model.Content, err error)
func TvShowDetailsToTvShowModel ¶
func TvShowDetailsToTvShowModel(details tmdb.TvDetailsResponse) (movie model.Content, err error)
Types ¶
type Client ¶
type Client interface { MovieClient TvShowClient }
type MovieClient ¶
type SearchMovieParams ¶
type SearchTvShowParams ¶
Click to show internal directories.
Click to hide internal directories.