fix: wrap Items in v-clicks for consistent animation in harness and ratelimit-lua slides
Deploy Slides / build-and-deploy (push) Successful in 1m26s
Deploy Slides / build-and-deploy (push) Successful in 1m26s
This commit is contained in:
@@ -41,6 +41,8 @@ end
|
||||
|
||||
Gin 中间件 + 统一错误格式
|
||||
|
||||
<v-clicks>
|
||||
|
||||
<Item title="中间件签名">
|
||||
`func RateLimit(limiter Limiter, keyFunc func(c *gin.Context) string) gin.HandlerFunc` — 可配置的 key 提取函数,支持按用户ID、IP、端点等维度限流。
|
||||
</Item>
|
||||
@@ -58,3 +60,5 @@ Gin 中间件 + 统一错误格式
|
||||
- 拒绝:HTTP 429 + `Retry-After` 头 + 统一 JSON 错误体
|
||||
|
||||
</Item>
|
||||
|
||||
</v-clicks>
|
||||
|
||||
Reference in New Issue
Block a user