SlidingWindow implements the sliding-window rate limiting strategy.
| 13 | |
| 14 | // SlidingWindow implements the sliding-window rate limiting strategy. |
| 15 | type SlidingWindow struct{} |
| 16 | |
| 17 | // New creates a new sliding window middleware handler |
| 18 | func (SlidingWindow) New(cfg *Config) fiber.Handler { |
nothing calls this directly
no outgoing calls
no test coverage detected