Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Name of the project Name = "limiter" //Description - Project short description Description = "Simple rate limiter demonstration." //LongDescription - Verbose project description. LongDescription = "" /* 161-byte string literal not displayed */ // Author - Project author. Author = "Senad Ibraimoski <senad.ibraimoski@gmail.com>" )
Functions ¶
This section is empty.
Types ¶
type RateLimiter ¶
RateLimiter - Container about limit/time rate limit requirements and chache implementation that is used to achive the same.
func NewRateLimiter ¶
NewRateLimiter - Creates new RateLimiter object
Click to show internal directories.
Click to hide internal directories.