package
Version:
v2.1.3
Opens a new window with list of versions in this module.
Published: Dec 22, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 17
Opens a new window with list of known importers.
Documentation
¶
View Source
var ErrLimitExceed = errors.New(429, "RATELIMIT", "service unavailable due to rate limit exceeded")
ErrLimitExceed is service unavailable due to rate limit exceeded.
Server ratelimiter middleware
type Option func(*options)
Option is ratelimit option.
WithLimiter set Limiter implementation,
default is bbr limiter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.