handler

package
v0.0.0-...-7dbf249 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2024 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleController

type HandleController struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(dao *daos.Dao, env *config.Env, logger *slog.Logger) *HandleController

func (*HandleController) AboutHandler

func (h *HandleController) AboutHandler(c echo.Context) error

func (*HandleController) FullstackHandler

func (h *HandleController) FullstackHandler(c echo.Context) error

func (*HandleController) ImprintHandler

func (h *HandleController) ImprintHandler(c echo.Context) error

func (*HandleController) IndexHandler

func (h *HandleController) IndexHandler(c echo.Context) error

func (*HandleController) LastfmHandler

func (h *HandleController) LastfmHandler(c echo.Context) error

func (*HandleController) LikesHandler

func (h *HandleController) LikesHandler(c echo.Context) error

func (*HandleController) ListensHandler

func (h *HandleController) ListensHandler(c echo.Context) error

func (*HandleController) MusicHandler

func (h *HandleController) MusicHandler(c echo.Context) error

func (*HandleController) MusicRedirectHandler

func (h *HandleController) MusicRedirectHandler(c echo.Context) error

func (*HandleController) ReleasesSiteMap

func (h *HandleController) ReleasesSiteMap(urls *utils.Urlset) error

func (*HandleController) SidebarHandler

func (h *HandleController) SidebarHandler(c echo.Context) error

func (*HandleController) SpotifyActivityHandler

func (h *HandleController) SpotifyActivityHandler(c echo.Context) error

type SpotifyController

type SpotifyController struct {
	// contains filtered or unexported fields
}

func NewSpotifyController

func NewSpotifyController(server *sse.Server, dao *daos.Dao, env *config.Env) *SpotifyController

func (*SpotifyController) SpotifyActivityTicker

func (c *SpotifyController) SpotifyActivityTicker()

type SpotifyToken

type SpotifyToken struct {
	AccessToken string `json:"access_token"`
	TokenType   string `json:"token_type"`
	ExpiresIn   int    `json:"expires_in"`
	Scope       string `json:"scope"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL