middlewares

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomizeLogger

func CustomizeLogger() echo.MiddlewareFunc

CustomizeLogger prepqre my logger for echo

func ErrorLogging

func ErrorLogging(e *echo.Echo) func(error, echo.Context)

func Login

func Login() echo.MiddlewareFunc

Types

type LoginContext

type LoginContext struct {
	echo.Context
	CurrentUser *user.User
}

Jump to

Keyboard shortcuts

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