Documentation ¶
Overview ¶
Package view is the TakeoutFM API viewmodel.
Index ¶
- type Activity
- type ActivityMovies
- type ActivityReleases
- type ActivityTracks
- 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 TrackList
- type TracksFunc
- type WantList
- type Watch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { RecentMovies []model.ActivityMovie RecentTracks []model.ActivityTrack RecentReleases []model.ActivityRelease }
swagger:model
type ActivityReleases ¶
type ActivityReleases struct {
Releases []model.ActivityRelease
}
swagger:model
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:"-"` }
swagger:model
type BackdropFunc ¶
type Episode ¶
type Episode struct { Episode model.Episode EpisodeImage EpisodeImageFunc `json:"-"` }
swagger:model
type EpisodeImageFunc ¶
type Genre ¶
type Genre struct { Name string Movies []model.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
swagger:model
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:"-"` }
swagger:model
type Keyword ¶
type Keyword struct { Name string Movies []model.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
swagger:model
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:"-"` }
swagger:model
type Movies ¶
type Movies struct { Movies []model.Movie PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
swagger:model
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:"-"` }
swagger:model
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:"-"` }
swagger:model
type ProfileFunc ¶
type Radio ¶
type Radio struct { Artist []model.Station Genre []model.Station Similar []model.Station Period []model.Station Series []model.Station Other []model.Station Stream []model.Station CoverSmall CoverFunc `json:"-"` }
swagger:model
type Release ¶
type Release struct { Artist model.Artist Release model.Release Image string Tracks []model.Track Singles []model.Track Popular []model.Track Similar []model.Release CoverSmall CoverFunc `json:"-"` }
swagger:model
type Search ¶
type Search struct { Artists []model.Artist Releases []model.Release Tracks []model.Track Stations []model.Station Movies []model.Movie Series []model.Series Episodes []model.Episode Query string Hits int CoverSmall CoverFunc `json:"-"` PosterSmall PosterFunc `json:"-"` }
swagger:model
type Series ¶
type Series struct { Series model.Series Episodes []model.Episode SeriesImage SeriesImageFunc `json:"-"` EpisodeImage EpisodeImageFunc `json:"-"` }
swagger:model
type SeriesImageFunc ¶
type TrackList ¶
type TrackList struct { Title string Tracks TracksFunc }
type TracksFunc ¶
type WantList ¶
type WantList struct { Artist model.Artist Releases []model.Release CoverSmall CoverFunc `json:"-"` }
swagger:model
type Watch ¶
type Watch struct { Movie model.Movie Location string PosterSmall PosterFunc `json:"-"` Backdrop BackdropFunc `json:"-"` }
swagger:model
Click to show internal directories.
Click to hide internal directories.