redisstorage

package
v0.0.0-...-3ca95c8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2013 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package redis provides a Storage backend for relyq

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisStorage

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

func New

func New(marshaller marshallers.Marshaller, pool *redis.Pool, prefix, delim string) *RedisStorage

func (*RedisStorage) Close

func (rs *RedisStorage) Close() error

func (*RedisStorage) Del

func (rs *RedisStorage) Del(id []byte) error

func (*RedisStorage) Get

func (rs *RedisStorage) Get(id []byte, obj interface{}) error

func (*RedisStorage) Set

func (rs *RedisStorage) Set(obj interface{}, id []byte) error

Jump to

Keyboard shortcuts

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