Documentation ¶
Index ¶
Constants ¶
View Source
const AlbumCollectionName = "albums"
View Source
const ArtistCollectionName = "artists"
View Source
const TrackCollectionName = "tracks"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Album ¶
type Album struct { AlbumId string Name string ArtistNames []string ArtworkLink string Source StreamingServiceType Market Market Link string }
func (*Album) GetSource ¶
func (a *Album) GetSource() StreamingServiceType
type Artist ¶
type Artist struct { ArtistId string Name string ArtworkLink string Source StreamingServiceType Market Market Link string }
func (*Artist) GetSource ¶
func (a *Artist) GetSource() StreamingServiceType
type StreamingService ¶
type StreamingService struct { Key StreamingServiceType Name string Enabled bool }
type StreamingServiceType ¶ added in v0.3.0
type StreamingServiceType string
const ( AppleMusicStreamingService StreamingServiceType = "apple_music" SpotifyStreamingService StreamingServiceType = "spotify" DeezerStreamingService StreamingServiceType = "deezer" )
func (StreamingServiceType) String ¶ added in v0.3.0
func (s StreamingServiceType) String() string
type Thing ¶
type Thing interface {
GetSource() StreamingServiceType
}
Click to show internal directories.
Click to hide internal directories.