middleware

package
v0.0.0-...-9b2df44 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JWTMiddleware

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

func NewJWTMiddleware

func NewJWTMiddleware(tokenService *auth.RevokedJWTTokenService) *JWTMiddleware

func (*JWTMiddleware) Apply

func (m *JWTMiddleware) Apply(next http.Handler) http.Handler

JWT validation middleware Wrapper

type LoggerMiddleware

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

func NewLoggerMiddleware

func NewLoggerMiddleware(logger *log.Logger) *LoggerMiddleware

func (*LoggerMiddleware) Apply

func (l *LoggerMiddleware) Apply(next http.Handler) http.Handler

type MiddlewareInterface

type MiddlewareInterface interface {
	Apply(next http.Handler) http.Handler
}

Jump to

Keyboard shortcuts

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