store

package
v0.0.0-...-b97e90d Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisStore

type RedisStore struct {
	Pool   *redis.Pool
	Prefix string
}

func (*RedisStore) Close

func (s *RedisStore) Close() error

func (*RedisStore) Get

func (s *RedisStore) Get(key string) (string, error)

type Store

type Store interface {
	Get(key string) (string, error)
}

func NewRedisStore

func NewRedisStore(size int, network string, address string, password string, DB string, prefix string) (Store, error)

Jump to

Keyboard shortcuts

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