middlewares

package
v0.0.0-...-91ccb22 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: CC0-1.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(next *handler.Server) http.Handler

func GetCurrentUser

func GetCurrentUser(ctx context.Context, userService *user.Service) (*database.GetUserByIdRow, error)

func LoggingMiddleware

func LoggingMiddleware(handler http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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