redis

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrInvalidLimitResult invalid limit result
	ErrInvalidLimitResult = errors.New("invalid limit result")
)

Functions

func NewRedisLimiter

func NewRedisLimiter(client *redis.Client) limiter.Limiter

NewRedisLimiter return a limiter base redis

Types

This section is empty.

Jump to

Keyboard shortcuts

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