cache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearAll

func ClearAll() error

func Decr

func Decr(key string) error

func Delete

func Delete(key string) error

func Get

func Get(key string, e interface{}) error

func Incr

func Incr(key string) error

func Init

func Init(c cache.Cache)

initialize cache

func IsExist

func IsExist(key string) (bool, error)

func Set

func Set(key string, val interface{}, timeout time.Duration) error

func StartAndGC

func StartAndGC(config 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