Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPersonNotFound = errors.New("person not found")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { TMDBClient IncludeTV bool // contains filtered or unexported fields }
type TMDBClient ¶
type TMDBClient interface { GetPersonCredits(ctx context.Context, id int) (tmdb.PersonCredits, error) SearchPersonPage(ctx context.Context, query string, page int) ([]tmdb.Person, int, error) GetPerson(ctx context.Context, id int) (tmdb.Person, error) GetMovie(ctx context.Context, id int) (tmdb.Movie, error) GetMovieCredits(ctx context.Context, id int) (tmdb.MovieCredits, error) SearchPersonAllPages(ctx context.Context, query string) ([]tmdb.Person, error) }
Click to show internal directories.
Click to hide internal directories.