handlers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DynamicTemplateHandler

func DynamicTemplateHandler(templateName string, populateFunc dynamicPopulateFunc) echo.HandlerFunc

closure generator returns echo.HandlerFunc uses populateFunc to populate template with template name (incl. ending) opts are { args: []string{} }

func LoggerMiddleware

func LoggerMiddleware(excl []string) echo.MiddlewareFunc

param excl []string excluded paths (paths we don't log)

func PwshTemplateHandler

func PwshTemplateHandler(templateName string, p string) echo.HandlerFunc

func StaticAppHandler

func StaticAppHandler(c echo.Context) error

StaticAppHandler godoc

@Summary special handler for user-facing static files so file endings are not shown in the URI

func StaticTemplateHandler

func StaticTemplateHandler(templateName string) echo.HandlerFunc

static templates

Types

This section is empty.

Jump to

Keyboard shortcuts

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