redis

package
v0.0.0-...-7db96e5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

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

func (*Source) Close

func (s *Source) Close() error

func (*Source) Delete

func (s *Source) Delete(key string) error

func (*Source) Get

func (s *Source) Get(key string) (interface{}, error)

func (*Source) GetSetFn

func (s *Source) GetSetFn(key string, expires int, f cachei.CacheFunc) (interface{}, error, error)

func (*Source) Open

func (s *Source) Open() (err error)

func (*Source) Out

func (s *Source) Out(key string, out interface{}) error

func (*Source) OutSetFn

func (s *Source) OutSetFn(key string, expires int, out interface{}, f cachei.CacheFunc) (error, error)

func (*Source) Set

func (s *Source) Set(key string, value interface{}, expires int) error

func (*Source) Setup

func (s *Source) Setup(config cachei.DataSource) error

Jump to

Keyboard shortcuts

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