middleware

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionLoggerMiddleware

func ActionLoggerMiddleware(container container.Container) echo.MiddlewareFunc

ActionLoggerMiddleware is middleware for logging the start and end of controller processes. ref: https://echo.labstack.com/cookbook/middleware

func AuthenticationMiddleware

func AuthenticationMiddleware(container container.Container) echo.MiddlewareFunc

AuthenticationMiddleware is the middleware of session authentication for echo.

func InitLoggerMiddleware

func InitLoggerMiddleware(e *echo.Echo, container container.Container)

InitLoggerMiddleware initialize a middleware for logger.

func InitSessionMiddleware

func InitSessionMiddleware(e *echo.Echo, container container.Container)

InitSessionMiddleware initialize a middleware for session management.

func RequestLoggerMiddleware

func RequestLoggerMiddleware(container container.Container) echo.MiddlewareFunc

RequestLoggerMiddleware is middleware for logging the contents of requests.

func StaticContentsMiddleware added in v1.5.4

func StaticContentsMiddleware(e *echo.Echo, container container.Container, staticFile embed.FS)

StaticContentsMiddleware is the middleware for loading the static files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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