Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LeakyBucketLimiter ¶
type LeakyBucketLimiter struct { ratelimit.BaseRateLimiter /* If the traffic is too large, the limiter will request Redis frequently. To avoid this situation, the frequency of accessing Redis will be limited. */ AntiDDoS bool // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.