cache

package
Version: v0.0.0-...-f47669d Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisCache

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

func NewRedisCache

func NewRedisCache(uri string) (*RedisCache, error)

func (*RedisCache) Get

func (c *RedisCache) Get(key string) (string, error)

func (*RedisCache) Store

func (c *RedisCache) Store(key string, value string, expiration time.Duration) error

func (*RedisCache) StoreWithDefaultTTL

func (c *RedisCache) StoreWithDefaultTTL(key string, value string) error

Source Files

Jump to

Keyboard shortcuts

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