caches

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

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

Go to latest
Published: Oct 22, 2019 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cacher

type Cacher interface {
	Get(key string) ([]byte, error)
	Set(key string, v []byte, expires int) error
	Delete(key ...string)
	Keys(pattern string) ([]string, error)
	Lock(key, value string, expires int) bool
	Unlock(key string)
}

Cacher is an interface for a key/value cacher.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL