middleware

package
v0.0.0-...-c42784e Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const FingerPrintHeader = "X-Device-FingerPrint"

Variables

This section is empty.

Functions

func FingerPrint

func FingerPrint(next http.Handler) http.Handler

func LoggingMiddleware

func LoggingMiddleware(logger logger.Logger) func(http.Handler) http.Handler

Types

type AuthMiddleware

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

func NewAuthMiddleware

func NewAuthMiddleware(log logger.Logger, jwtKey string) *AuthMiddleware

func (*AuthMiddleware) Middleware

func (m *AuthMiddleware) Middleware(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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