package
Version:
v1.0.21
Opens a new window with list of versions in this module.
Published: Nov 3, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
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.