handler

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetHandlerFunc

func AssetHandlerFunc(h http.Handler) echo.HandlerFunc

AssetHandlerFunc handles asset files

func CookieAuthMiddleware

func CookieAuthMiddleware(next echo.HandlerFunc) echo.HandlerFunc

CookieAuthMiddleware middleware handler for cookie authentication

func EnvContextMiddleware

func EnvContextMiddleware(next echo.HandlerFunc) echo.HandlerFunc

EnvContextMiddleware this is a custom echo context, representing the environment context it must be the first middleware, which is registered

func HandleEntityDelete

func HandleEntityDelete(c echo.Context) error

HandleEntityDelete ...

func HandleEntityEdit

func HandleEntityEdit(c echo.Context) error

HandleEntityEdit ...

func HandleEntityList

func HandleEntityList(c echo.Context) error

HandleEntityList ...

func HandleEntityNew

func HandleEntityNew(c echo.Context) error

HandleEntityNew ...

func JWTAuthSkipper

func JWTAuthSkipper(c echo.Context) bool

JWTAuthSkipper returns true for URL's, that do not need token authentication

func LoggingDefaultHTTPErrorHandler

func LoggingDefaultHTTPErrorHandler(err error, c echo.Context)

func RequestLoggingMiddleware

func RequestLoggingMiddleware(next echo.HandlerFunc) echo.HandlerFunc

RequestLoggingMiddleware ...

func SimpleLoggingHTTPErrorHandler

func SimpleLoggingHTTPErrorHandler(err error, c echo.Context)

func TokenLoggingMiddleware

func TokenLoggingMiddleware(next echo.HandlerFunc) echo.HandlerFunc

TokenLoggingMiddleware ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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