routes

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KioskVersion string
)

Functions

func Clock

func Clock(baseConfig *config.Config) echo.HandlerFunc

Clock clock endpoint

func Home

func Home(baseConfig *config.Config) echo.HandlerFunc

Home home endpoint

func NewImage

func NewImage(baseConfig *config.Config) echo.HandlerFunc

NewImage new image endpoint

func Render added in v0.4.0

func Render(ctx echo.Context, statusCode int, t templ.Component) error

This custom Render replaces Echo's echo.Context.Render() with templ's templ.Component.Render().

Types

type PersonOrAlbum added in v0.5.0

type PersonOrAlbum struct {
	Type string
	ID   string
}

type RequestData added in v0.7.0

type RequestData struct {
	History []string `form:"history"`
	config.Config
}

Jump to

Keyboard shortcuts

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