Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Error404 = extend(PageLayout, "error_404")
View Source
var Error500 = extend(PageLayout, "error_500")
View Source
var HomeView = extend(PageLayout, "home_view")
View Source
var PageLayout = parse("layout")
View Source
var SubscriptionsView = extend(PageLayout, "subscriptions_view")
View Source
var UpdateSubscriptionEmailHTML = parse("subscription_update_email")
Functions ¶
func PrettyActorNames ¶
Types ¶
type Activity ¶
type Activity struct { ActorName string Description string PlaylistName string PlaylistURL string EmbedURL string TrackName string TrackURL string }
func NewActivity ¶
type FullUser ¶
func NewFullUser ¶
func NewFullUser(user *spotify.PrivateProfile) *FullUser
type LayoutData ¶
type LayoutData struct {
SignedIn bool
}
type Playlist ¶
type Playlist struct { ID string Name string OwnerID string ExternalURL string SubscriptionToken model.SubscriptionToken }
func NewPlaylist ¶
func NewPlaylist(playlist *spotify.Playlist, subToken model.SubscriptionToken) *Playlist
type ShareEmailData ¶
type ShareEmailData struct {}
func NewShareEmailData ¶
func NewShareEmailData(inviter *spotify.PrivateProfile, playlist *spotify.Playlist, appBaseURL string) *ShareEmailData
type SubscriptionsViewData ¶
type SubscriptionsViewData struct { LayoutData Activities []*Activity Playlists []*Playlist }
Click to show internal directories.
Click to hide internal directories.