Documentation ¶
Index ¶
- Constants
- Variables
- func MovieDetailsToMovieModel(details tmdb.MovieDetails) (movie model.Content, err error)
- func TvShowDetailsToTvShowModel(details tmdb.TVDetails) (movie model.Content, err error)
- type Client
- type Config
- 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.MovieDetails) (movie model.Content, err error)
Types ¶
type Client ¶
type Client interface { MovieClient TvShowClient }
type Config ¶
func NewDefaultConfig ¶
func NewDefaultConfig() Config
type MovieClient ¶
type SearchMovieParams ¶
type SearchTvShowParams ¶
Click to show internal directories.
Click to hide internal directories.