Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { BuildPlaylist(userID, playlistID uuid.UUID) DeletePlaylist(userID, playlistID uuid.UUID) BuildScheduledPlaylists() }
Builder provides methods for working with real Spotify playlists
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service manages building the actual spotify playlists
func (*Service) BuildPlaylist ¶
BuildPlaylist uses the configuration from playlistID to build a spotify playlist for userID
func (*Service) BuildScheduledPlaylists ¶
func (s *Service) BuildScheduledPlaylists()
BuildScheduledPlaylists builds all scheduled playlists whose deadlines have passed
func (*Service) DeletePlaylist ¶
DeletePlaylist deletes both the actual spotify playlist and the configuration in the db
Click to show internal directories.
Click to hide internal directories.