mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-31 22:23:14 +02:00
added logout endpoint
This commit is contained in:
12
internal/net/http/middleware/rate_limiter.go
Normal file
12
internal/net/http/middleware/rate_limiter.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package middleware
|
||||
|
||||
type (
|
||||
rateLimiter struct {
|
||||
*rateLimiterOpts
|
||||
m *Middleware
|
||||
}
|
||||
|
||||
rateLimiterOpts struct {
|
||||
Count int `json:"count"`
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user