redis

package
v0.0.0-...-e07f7fb Latest Latest
Warning

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

Go to latest
Published: May 14, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPool

func NewPool(server string) *redis.Pool

Types

type Store

type Store struct {
	*redis.Pool
}

func NewStore

func NewStore(r *redis.Pool) *Store

func (*Store) Create

func (s *Store) Create(token *coby.Token) error

func (*Store) Delete

func (s *Store) Delete(id string) error

func (*Store) Get

func (s *Store) Get(tokenID string) (*coby.Token, error)

Jump to

Keyboard shortcuts

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