Versions in this module Expand all Collapse all v1 v1.10.2 Jun 26, 2023 v1.10.1 Mar 31, 2023 Changes in this version + func PerDay(maxAttempts int) contractshttp.Limit + func PerDays(decayDays, maxAttempts int) contractshttp.Limit + func PerHour(maxAttempts int) contractshttp.Limit + func PerHours(decayHours, maxAttempts int) contractshttp.Limit + func PerMinute(maxAttempts int) contractshttp.Limit + func PerMinutes(decayMinutes, maxAttempts int) contractshttp.Limit + type Limit struct + DecayMinutes int + Key string + MaxAttempts int + ResponseCallback func(ctx contractshttp.Context) + func NewLimit(maxAttempts, decayMinutes int) *Limit + func (r *Limit) By(key string) contractshttp.Limit + func (r *Limit) Response(callable func(ctx contractshttp.Context)) contractshttp.Limit