package
Version:
v0.0.0-...-2f2c2f3
Opens a new window with list of versions in this module.
Published: Dec 11, 2022
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").WithMessage("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.