Parameters passed to "NewLimiter()" in Echo instructions not correct
Opened this issue · 1 comments
darienmiller88 commented
After cloning the repo and using the "toolbooth_echo.LimiterHandler()" in my Echo application, the line of code
"limiter := tollbooth.NewLimiter(1, time.Second, nil)" does not match the parameters of this exact function in my code. Instead of these three parameters, only two are taken, with the first being a "float64", and second be a "*limiter.ExpirableOptions". Is there anyway to change the number of requests per second/minute/hour?
nelsonkti commented
@darienmiller88 Updated readme