Documentation ¶
Overview ¶
Package nowplaying defines the service used for the now playing page, including related routes, handlers, and templates.
templ: version: v0.2.680
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NowPlaying ¶
func NowPlaying(data NowPlayingData) templ.Component
Types ¶
type NowPlayingData ¶
type NowPlayingData struct { User database.GetUserRow NowPlaying []tmdbapi.NowPlayingMovie }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service holds the router, handlers, and functions related to the now playing page. Fields should be private to prevent access by other services.
func NewService ¶
NewService is the constructor function for creating the now playing service.
Click to show internal directories.
Click to hide internal directories.