fix: wrap Items in v-clicks for consistent animation in harness and ratelimit-lua slides
Deploy Slides / build-and-deploy (push) Successful in 1m26s

This commit is contained in:
2026-05-30 23:01:46 +08:00
parent f0245e926d
commit 663e04ab24
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -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>