Documentation ¶
Index ¶
Constants ¶
View Source
const ( WindowSize = 5 LRUSize = 5000 LimitFlagSize = 3000 MGETTimeOut = 1 IncrBy = 1 HealthCheckThreshold = 10 BGTaskInterval = 5 SegeSize = 10000 IncrScript = `` /* 268-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlidingWindowLimiter ¶
type SlidingWindowLimiter struct {
// contains filtered or unexported fields
}
func NewSlidingWindowLimiter ¶
func NewSlidingWindowLimiter(limitWant *entry.LimitWant) *SlidingWindowLimiter
Click to show internal directories.
Click to hide internal directories.