tmdb

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMovieClient

func NewMovieClient(APIKey string, cache cache.Cache, opts ...OptFunc) (mediadata.MovieClient, error)

func NewTvShowClient

func NewTvShowClient(APIKey string, cache cache.Cache, opts ...OptFunc) (mediadata.TvShowClient, error)

Types

type AllOpts

type AllOpts struct {
	APIKey string
	Opts
}

type OptFunc

type OptFunc func(opts *Opts)

func WithAdult

func WithAdult(adult bool) OptFunc

func WithLang

func WithLang(lang string) OptFunc

type Opts

type Opts struct {
	Lang  string
	Adult bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL