Documentation
¶
Index ¶
- func InsertTracks(ctx context.Context, db *ent.Client, tracks []spotify.SavedTrack, ...)
- type Handler
- func (h *Handler) Home(c echo.Context) error
- func (h *Handler) LoginIndex(c echo.Context) error
- func (h *Handler) LoginUser(c echo.Context) error
- func (h *Handler) LogoutUser(c echo.Context) error
- func (h *Handler) PlaylistDelete(c echo.Context) error
- func (h *Handler) PlaylistIndex(c echo.Context) error
- func (h *Handler) PlaylistTracks(c echo.Context) error
- func (h *Handler) PlaylistsIndex(c echo.Context) error
- func (h *Handler) PullLiked(c echo.Context) error
- func (h *Handler) SignupForm(c echo.Context) error
- func (h *Handler) SignupUser(c echo.Context) error
- func (h *Handler) SpotifyAuthCallback(c echo.Context) error
- func (h *Handler) SpotifyLoginUrl(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertTracks ¶
Types ¶
type Handler ¶
type Handler struct {
DB *ent.Client
SpotifyAuth *spotifyauth.Authenticator
}
func NewHandler ¶
func NewHandler(client *ent.Client, sp *spotifyauth.Authenticator) *Handler
Click to show internal directories.
Click to hide internal directories.