store

package
v2.2.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package store contains deprecated aliases for subpackages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMemStore deprecated

func NewMemStore(maxKeys int) *memstore.MemStore

NewMemStore initializes a new memory-based store.

Deprecated: Use github.com/throttled/throttled/store/memstore instead.

func NewRedisStore deprecated

func NewRedisStore(pool *redis.Pool, keyPrefix string, db int) *redigostore.RedigoStore

NewRedisStore initializes a new Redigo-based store.

Deprecated: Use github.com/throttled/throttled/store/redigostore instead.

Types

This section is empty.

Directories

Path Synopsis
Package goredisstore offers Redis-based store implementation for throttled using go-redis.
Package goredisstore offers Redis-based store implementation for throttled using go-redis.
Package memstore offers an in-memory store implementation for throttled.
Package memstore offers an in-memory store implementation for throttled.
Package redigostore offers Redis-based store implementation for throttled using redigo.
Package redigostore offers Redis-based store implementation for throttled using redigo.
Package storetest provides a helper for testing throttled stores.
Package storetest provides a helper for testing throttled stores.

Jump to

Keyboard shortcuts

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