Versions in this module Expand all Collapse all v0 v0.2.0 Oct 31, 2020 Changes in this version + type LimitOpts struct + Fallback func(c *gin.Context) + Strategy func(c *gin.Context) string + func Apply(opts []Option) *LimitOpts + type Limiter interface + Allow func(context.Context, string) bool + type Option func(*LimitOpts) + func WithFallback(fallback func(c *gin.Context)) Option + func WithResourceStrategy(strategy func(c *gin.Context) string) Option