Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinRateLimit ¶ added in v2.3.6
func GinRateLimit(switchName, rateName string) gin.HandlerFunc
func GinRecovery ¶
func GinRecovery() gin.HandlerFunc
Types ¶
type RateLimiter ¶ added in v2.3.6
type RateLimiter struct {
// contains filtered or unexported fields
}
func NewRateLimiter ¶ added in v2.3.6
func NewRateLimiter(switchName, rateName string) *RateLimiter
Click to show internal directories.
Click to hide internal directories.