echo

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

==== File: integrations/echo/echo.go ==== Package echo provides a renderer and helper middleware for the Echo framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSRFTokenLookup

func CSRFTokenLookup(lookupMethod string) echo.MiddlewareFunc

CSRFTokenLookup is a convenience function that returns Echo's CSRF middleware configured with the specified token lookup method (e.g., "form:_csrf").

func MethodOverrideFormField

func MethodOverrideFormField(fieldName string) echo.MiddlewareFunc

MethodOverrideFormField is a convenience function that returns Echo's MethodOverride middleware configured to look for the method in a form field.

func NewTemplatesRenderer

func NewTemplatesRenderer(opts ...templates.Option) echo.Renderer

NewTemplatesRenderer creates a new echo.Renderer with the given options. It is a convenience wrapper around templates.New.

func Renderer

func Renderer(t *templates.Templates) echo.Renderer

Renderer creates a new echo.Renderer from an existing templates.Templates instance. This is useful if you have already configured a templates.Templates instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

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