Documentation ¶
Overview ¶
Package view is the TakeoutFM API viewmodel.
Index ¶
- type Artist
- type Artists
- type BackdropFunc
- type CoverFunc
- type Episode
- type EpisodeImageFunc
- type Genre
- type Home
- type Index
- type Keyword
- type Movie
- type Movies
- type Offset
- type Playlist
- type Playlists
- type Podcasts
- type Popular
- type PosterFunc
- type Profile
- type ProfileFunc
- type Progress
- type Radio
- type Release
- type Search
- type Series
- type SeriesImageFunc
- type Singles
- type TrackHistory
- type TrackList
- type TrackStats
- type TracksFunc
- type WantList
- type Watch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artist ¶
type Artist struct { Artist model.Artist Image string Background string Releases []model.Release Similar []model.Artist CoverSmall CoverFunc `json:"-"` Deep TrackList `json:"-"` Popular TrackList `json:"-"` Radio TrackList `json:"-"` Shuffle TrackList `json:"-"` Singles TrackList `json:"-"` Tracks TrackList `json:"-"` }
type BackdropFunc ¶
type Episode ¶
type Episode struct { Episode model.Episode EpisodeImage EpisodeImageFunc `json:"-"` }
type EpisodeImageFunc ¶
type Genre ¶
type Genre struct { Name string Movies []model.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
type Home ¶
type Home struct { AddedReleases []model.Release NewReleases []model.Release AddedMovies []model.Movie NewMovies []model.Movie RecommendMovies []model.Recommend NewEpisodes []model.Episode NewSeries []model.Series CoverSmall CoverFunc `json:"-"` PosterSmall PosterFunc `json:"-"` SeriesImage SeriesImageFunc `json:"-"` EpisodeImage EpisodeImageFunc `json:"-"` }
type Keyword ¶
type Keyword struct { Name string Movies []model.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
type Movie ¶
type Movie struct { Movie model.Movie Location string Collection model.Collection Other []model.Movie Cast []model.Cast Crew []model.Crew Starring []model.Person Directing []model.Person Writing []model.Person Genres []string Keywords []string Vote int VoteCount int Poster PosterFunc `json:"-"` PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` Profile ProfileFunc `json:"-"` }
type Movies ¶
type Movies struct { Movies []model.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
type Playlist ¶ added in v0.17.0
func NewPlaylist ¶ added in v0.17.0
type Podcasts ¶
type Podcasts struct { Series []model.Series SeriesImage SeriesImageFunc `json:"-"` }
type PosterFunc ¶
type Profile ¶
type Profile struct { Person model.Person Starring []model.Movie Directing []model.Movie Writing []model.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` Profile ProfileFunc `json:"-"` }
type ProfileFunc ¶
type Series ¶
type Series struct { Series model.Series Episodes []model.Episode SeriesImage SeriesImageFunc `json:"-"` EpisodeImage EpisodeImageFunc `json:"-"` }
type SeriesImageFunc ¶
type TrackHistory ¶ added in v0.21.0
type TrackHistory struct {
Tracks []model.ActivityTrack
}
type TrackList ¶
type TrackList struct { Title string Tracks TracksFunc }
type TrackStats ¶ added in v0.21.0
type TrackStats struct { Artists []model.ActivityArtist Releases []model.ActivityRelease Tracks []model.ActivityTrack }
type TracksFunc ¶
type Watch ¶
type Watch struct { Movie model.Movie Location string PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
Click to show internal directories.
Click to hide internal directories.