Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearLimitByIP ¶
func ClearLimitByIP(ip string)
func ClearLimitByUserID ¶
func ClearLimitByUserID(userID string)
Types ¶
type RateLimitter ¶
type RateLimitter interface {
Allow() bool
}
Click to show internal directories.
Click to hide internal directories.