handlers

package
v0.0.0-...-278f817 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultHandler

type DefaultHandler struct {
	PageService services.PageService
	BasePath    string
}

func (*DefaultHandler) LoadContent

func (h *DefaultHandler) LoadContent(c echo.Context) error

func (*DefaultHandler) Page

func (h *DefaultHandler) Page(c echo.Context) error

func (*DefaultHandler) RenderPage

func (h *DefaultHandler) RenderPage(c echo.Context, page templ.Component, title string) error

func (*DefaultHandler) Unsafe

func (h *DefaultHandler) Unsafe(html string) templ.Component

Jump to

Keyboard shortcuts

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