package
0.0.0-20240416140913-a0501a0566fe
Repository: https://github.com/amossparker/slud9e.git
Documentation: pkg.go.dev

# Functions

AuthMiddleware handles JWT authentication.
ErrorHandlingMiddleware captures and handles panics and errors in the middleware chain.
GzipCompressionMiddleware applies gzip compression to HTTP responses if the client supports it.
InputValidationMiddleware dynamically validates request bodies based on struct tags.
RateLimitingMiddleware limits the rate of incoming requests using the tollbooth library.
SecureHeadersMiddleware adds security-related headers to responses.
StructuredLoggingMiddleware logs each HTTP request with structured logging.

# Structs

UserRegistrationRequest represents the structure of a user registration request.