Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 1011010001, ErrAcquireFailed = errors.New("Number of requests exceeds threshold") )
View Source
var (
SentinelRedisKey = "sentinel:configs"
)
Functions ¶
Types ¶
type TokenBucketLimiter ¶
type TokenBucketLimiter struct {
// contains filtered or unexported fields
}
TokenBucketLimiter 令牌桶限流器
Click to show internal directories.
Click to hide internal directories.