Make it compile
This commit is contained in:
parent
e2e107d8c9
commit
2a1bab393d
@ -160,7 +160,7 @@ func addManageTemplate(renderer multitemplate.Renderer, name string) multitempla
|
||||
return renderer
|
||||
}
|
||||
|
||||
func createLimiter(limit int, period time.Duration) func(*gin.Context) {
|
||||
func createLimiter(limit int64, period time.Duration) func(*gin.Context) {
|
||||
store := memory.NewStore()
|
||||
rate := limiter.Rate{
|
||||
Period: period,
|
||||
|
Loading…
x
Reference in New Issue
Block a user