middleware

package
v1.6.7 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionLoggerMiddleware

func ActionLoggerMiddleware(context mycontext.Context) 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(conf *config.Config) echo.MiddlewareFunc

AuthenticationMiddleware is the middleware of session authentication for echo.

func InitLoggerMiddleware

func InitLoggerMiddleware(e *echo.Echo, context mycontext.Context)

InitLoggerMiddleware initialize a middleware for logger.

func InitSessionMiddleware

func InitSessionMiddleware(e *echo.Echo, context mycontext.Context)

InitSessionMiddleware initialize a middleware for session management.

func RequestLoggerMiddleware

func RequestLoggerMiddleware(context mycontext.Context) echo.MiddlewareFunc

RequestLoggerMiddleware is middleware for logging the contents of requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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