Documentation ¶
Index ¶
- func ActionLoggerMiddleware(context mycontext.Context) echo.MiddlewareFunc
- func AuthenticationMiddleware(conf *config.Config) echo.MiddlewareFunc
- func InitLoggerMiddleware(e *echo.Echo, context mycontext.Context)
- func InitSessionMiddleware(e *echo.Echo, context mycontext.Context)
- func RequestLoggerMiddleware(context mycontext.Context) echo.MiddlewareFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionLoggerMiddleware ¶
ActionLoggerMiddleware is middleware for logging the start and end of controller processes. ref: https://echo.labstack.com/cookbook/middleware
func AuthenticationMiddleware ¶
AuthenticationMiddleware is the middleware of session authentication for echo.
func InitLoggerMiddleware ¶
InitLoggerMiddleware initialize a middleware for logger.
func InitSessionMiddleware ¶
InitSessionMiddleware initialize a middleware for session management.
func RequestLoggerMiddleware ¶
RequestLoggerMiddleware is middleware for logging the contents of requests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.