Back to godoc.org

Package middleware

v0.0.3
Latest Go to latest

The highest tagged major version is .

Published: Sep 11, 2019 | License: Apache-2.0 | Module: github.com/dmitrymomot/go-jwt

Index

Variables

var JWTContextKey = &contextKey{"jwt"}

JWTContextKey to set parced token claims to request context

func JWT

func JWT(ji jwt.Interactor) func(http.Handler) http.Handler

JWT Middleware

func JWTEcho

func JWTEcho(ji jwt.Interactor) echo.MiddlewareFunc

JWTEcho Middleware to use with echo.labstack framework

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier