common

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFavicon

func HandleFavicon(c echo.Context) error

HandleFavicon ...

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