middlewares

package
v0.0.0-...-6c79d6b Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthContextKey = &ctxKey{Name: "AuthKey "}

Functions

This section is empty.

Types

type AuthMiddleware

type AuthMiddleware struct {
	// contains filtered or unexported fields
}

func NewAuthMiddleware

func NewAuthMiddleware(tokenHandler tokenhandler.TokenHandler, logger *zap.Logger) *AuthMiddleware

func (AuthMiddleware) HandleAuth

func (A AuthMiddleware) HandleAuth(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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