package
1.4.8
Repository: https://github.com/jubaerhossain/rootx.git
Documentation: pkg.go.dev

# Functions

AuthMiddleware validates JWT tokens and protects routes.
CORSMiddleware is a middleware function that adds CORS headers to HTTP responses.
GetClaimsFromContext retrieves claims from request context.
LimiterMiddleware creates a new rate limiting middleware.
No description provided by the author
PrometheusMiddleware is a middleware for recording Prometheus metrics.
SecurityHeadersMiddleware adds security headers to the response.

# Constants

No description provided by the author

# Structs

RateLimitConfig holds the configuration for rate limiting.