Documentation
¶
Overview ¶
Package view is the TakeoutFM API viewmodel.
Index ¶
- type Artist
- type Artists
- type Episode
- type Genre
- type Home
- type Index
- type Keyword
- type Movie
- type MovieCredits
- type Movies
- type Offset
- type Playlist
- type Playlists
- type Podcasts
- type Popular
- type Profile
- type Progress
- type Radio
- type Release
- type Search
- type Series
- type Singles
- type TVCredits
- type TVEpisode
- type TVList
- type TVSeries
- type TVShows
- type TrackChart
- type TrackCharts
- type TrackCounts
- 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 MovieCredits ¶
type Playlist ¶
func NewPlaylist ¶
type TrackChart ¶
type TrackCharts ¶
type TrackCharts struct {
Labels []string
Charts []TrackChart
}
func (*TrackCharts) AddCounts ¶
func (c *TrackCharts) AddCounts(label string, counts *TrackCounts)
type TrackCounts ¶
type TrackCounts struct {
Counts []model.ActivityCount
}
func (*TrackCounts) Total ¶
func (c *TrackCounts) Total() int
func (*TrackCounts) Values ¶
func (c *TrackCounts) Values() []int
type TrackHistory ¶
type TrackHistory struct {
Tracks []model.ActivityTrack
}
type TrackList ¶
type TrackList struct {
Title string
Tracks TracksFunc
}
type TrackStats ¶
type TrackStats struct {
Interval string
Artists []model.ActivityArtist
Releases []model.ActivityRelease
Tracks []model.ActivityTrack
ArtistCount int
ReleaseCount int
TrackCount int
ListenCount int
}
type TracksFunc ¶
Click to show internal directories.
Click to hide internal directories.