redistorage

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultNamespace = "DEFAULT"

Variables

This section is empty.

Functions

func MustNew

func MustNew(namespace string, url string) storages.NamespacedStorage

New REDIS client and storage wrapper. If URL is invalid - panic

func New

func New(namespace string, url string) (*redisStorage, error)

New REDIS client and storage wrapper

func NewClient

func NewClient(namespace string, client *redis.Client) *redisStorage

New storage wrapper around REDIS hashmap. Namespace is a hashkey

Types

This section is empty.

Jump to

Keyboard shortcuts

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