handlers

package
v0.0.0-...-59eebd1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

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

Types

type IndexHandler

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

func NewIndexHandler

func NewIndexHandler(logger *slog.Logger, debug bool, domain string, blacklistedWords string, transport *http.Transport, timeout time.Duration) *IndexHandler

func (*IndexHandler) Handler

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

type PanicHandler

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

func NewPanicHandler

func NewPanicHandler(logger *slog.Logger, debug bool, secretKeyHeaderName, secretKeyHeaderValue string) *PanicHandler

func (*PanicHandler) Handler

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

Jump to

Keyboard shortcuts

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