middleware

package
v0.0.0-...-b623679 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger(logger log.Logger) func(next http.Handler) http.Handler

Logger middleware that logs requests and responses

func Revocation

func Revocation(handler *handlers.AuthHandler) func(http.Handler) http.Handler

Middleware blocking blacklisted tokens

func Verified

func Verified(handler *handlers.AuthHandler) func(http.Handler) http.Handler

Middleware function assuring accounts are verified

Types

This section is empty.

Jump to

Keyboard shortcuts

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