redisx

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func ParseUniversalOptions

func ParseUniversalOptions(raw string) (*redis.UniversalOptions, error)

Types

type GCRALimiter

type GCRALimiter struct {
	// contains filtered or unexported fields
}

func NewGCRALimiter

func NewGCRALimiter(cli redis.UniversalClient) *GCRALimiter

func (*GCRALimiter) Allow

func (g *GCRALimiter) Allow(ctx context.Context, key string, perMinute int) (bool, time.Duration)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL