cache

package
v0.0.0-...-f6d4ea8 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

func Del(key ...string) error

func Get

func Get(key string) (string, error)

func GetJSON

func GetJSON(key string, v interface{}) bool

func Init

func Init(addr, password string, db int) error

func Lock

func Lock(key string, t time.Duration) (string, error)

func Set

func Set(key string, v interface{}, t time.Duration) error

func SetJSON

func SetJSON(key string, v interface{}, t time.Duration) error

func Unlock

func Unlock(key, v string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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