Versions in this module Expand all Collapse all v1 v1.2.0 Oct 18, 2023 Changes in this version + type LimitRepo struct + func NewRateLimitRepo(data *data.Data) *LimitRepo + func (lr *LimitRepo) CheckAndRecord(ctx context.Context, key string) (limit bool, err error) + func (lr *LimitRepo) ClearRecord(ctx context.Context, key string) error