type github.com/go-redis/redis_rate/v9.Limit
14 uses
github.com/go-redis/redis_rate/v9 (current package)
rate.go#L21: type Limit struct {
rate.go#L27: func (l Limit) String() string {
rate.go#L31: func (l Limit) IsZero() bool {
rate.go#L32: return l == Limit{}
rate.go#L47: func PerSecond(rate int) Limit {
rate.go#L48: return Limit{
rate.go#L55: func PerMinute(rate int) Limit {
rate.go#L56: return Limit{
rate.go#L63: func PerHour(rate int) Limit {
rate.go#L64: return Limit{
rate.go#L86: func (l Limiter) Allow(ctx context.Context, key string, limit Limit) (*Result, error) {
rate.go#L94: limit Limit,
rate.go#L130: limit Limit,
rate.go#L170: Limit Limit
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |