handler

package
v0.0.0-...-b98aa62 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TemplRender

func TemplRender(c echo.Context, component templ.Component) error

Helper to wrap calling a component's Render method.

Types

type Handler

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

func NewHandler

func NewHandler(db *sqlx.DB) *Handler

func (*Handler) CreateGame

func (h *Handler) CreateGame(c echo.Context) error

func (*Handler) Dashboard

func (h *Handler) Dashboard(c echo.Context) error

func (*Handler) DeleteGame

func (h *Handler) DeleteGame(c echo.Context) error

func (*Handler) GenerateGame

func (h *Handler) GenerateGame(c echo.Context) error

func (*Handler) Index

func (h *Handler) Index(c echo.Context) error

func (*Handler) JoinGame

func (h *Handler) JoinGame(c echo.Context) error

func (*Handler) Luck

func (h *Handler) Luck(c echo.Context) error

func (*Handler) PlayerAdd

func (h *Handler) PlayerAdd(c echo.Context) error

func (*Handler) PlayerDashboard

func (h *Handler) PlayerDashboard(c echo.Context) error

func (*Handler) PlayerDropdownModal

func (h *Handler) PlayerDropdownModal(c echo.Context) error

func (*Handler) PlayerRemove

func (h *Handler) PlayerRemove(c echo.Context) error

func (*Handler) PlayerReposition

func (h *Handler) PlayerReposition(c echo.Context) error

func (*Handler) SeatingDashboard

func (h *Handler) SeatingDashboard(c echo.Context) error

func (*Handler) SwapSeats

func (h *Handler) SwapSeats(c echo.Context) error

Jump to

Keyboard shortcuts

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