cache

package
v0.0.0-...-16501d2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearAll

func ClearAll()

func Count

func Count() int

func Del

func Del(key string) (err error)

func Get

func Get(key string, reply interface{}) (err error)

func Init

func Init() (err error)

func Set

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

Types

type CacheItem

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

Jump to

Keyboard shortcuts

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