Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIKeyAuth ¶
APIKeyAuth validates API keys and sets the verified user ID in context. Must be called before BearerAuth to enable the binding check.
func BearerAuth ¶
BearerAuth validates bearer tokens and sets the verified user ID in context. Validates tokens with WHOOP API instead of trusting client headers.
func RateLimitWithBackend ¶
RateLimitWithBackend applies IP-based rate limiting.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.