package
0.0.0-20241229204914-bf19a6758b9d
Repository: https://github.com/mini-maxit/backend.git
Documentation: pkg.go.dev
# Functions
DatabaseMiddleware is a middleware that injects the database connection into the context.
LoggingMiddleware logs details of each HTTP request.
RecoveryMiddleware recovers from panics and returns a 500 error.
No description provided by the author
# Constants
DatabaseKey is the key used to store the database connection in the context.
SessionKey is the key used to store the session in the context.
UserIDKey is the key used to store the user ID in the context.
# Structs
No description provided by the author
# Type aliases
No description provided by the author