redisstorage

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package redisstorage provides the implementation of versionedkv based on redis.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(client redis.UniversalClient, options Options) versionedkv.Storage

New creates a new redis storage with the given options.

Types

type Options

type Options struct {
	KeyPrefix                    string
	NumberOfShards               int
	MaxNumberOfIdleSubscriptions int
	IdleSubscriptionTimeout      time.Duration
}

Options represents options for redis storages.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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