# Functions
AuthMiddleware validates JWT tokens and adds user claims to the context.
ConfigureCORS returns CORS middleware configuration for HTTP requests.
ConfigureWebSocketCORS returns CORS middleware configuration specifically for WebSocket connections.
middleware/error_handler.go.
middleware/logger.go.
No description provided by the author
# Variables
JWTSecret is the secret key used to sign the JWT tokens.