handlers

package
v0.0.0-...-9d80246 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SessionManager *scs.SessionManager

Functions

func Contains

func Contains(slice []map[string]interface{}, animeID int) bool

func FinalScore

func FinalScore(c echo.Context) error

func GetAllAnimes

func GetAllAnimes(c echo.Context) error

func GetHandler

func GetHandler(c echo.Context) error

func GetHome

func GetHome(c echo.Context) error

func PostAnime

func PostAnime(c echo.Context) error

func PostHandler

func PostHandler(c echo.Context) error

func PostHomeHandler

func PostHomeHandler(c echo.Context) error

func Render

func Render(ctx echo.Context, cmp templ.Component) error

Types

type GlobalState

type GlobalState struct {
	Count int
}

type ScoreState

type ScoreState struct {
	Count int
}

Jump to

Keyboard shortcuts

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