added logout endpoint

This commit is contained in:
yusing
2024-10-31 00:58:35 +08:00
parent 669d13b89a
commit 4ee93a1351
3 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package middleware
type (
rateLimiter struct {
*rateLimiterOpts
m *Middleware
}
rateLimiterOpts struct {
Count int `json:"count"`
}
)