Functions§
- auth
- Bearer token auth middleware.
If
config.api_keyis non-empty, validatesAuthorization: Bearer <key>. Ifapi_keyis empty, all requests are allowed through. - cors_
layer - new_
rate_ limit_ map - rate_
limit - Per-IP rate limiting middleware.
If
config.server.rate_limit_seconds > 0, rejects requests that come faster than the configured interval with 429 Too Many Requests. - request_
id