cache

package
v0.3.5-hotfix-1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(key string, value interface{}, future time.Time) bool

func Decrement

func Decrement(key string, value int64) (decremented int64, success bool)

func Forever

func Forever(key string, value interface{})

func Forget

func Forget(key string) bool

func Get

func Get(key string, defaultValue ...interface{}) interface{}

func Has

func Has(key string) bool

func Increment

func Increment(key string, value int64) (incremented int64, success bool)

func Prefix

func Prefix() string

func Pull

func Pull(key string, defaultValue ...interface{}) interface{}

func Put

func Put(key string, value interface{}, future time.Time)

Types

This section is empty.

Jump to

Keyboard shortcuts

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