cache

package
v0.0.0-...-69154b6 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 1 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 {
	Initial()
	Inc(key string, val int) error
	SetExp(key string, exp time.Duration) error
	Set(key string, val interface{}, exp time.Duration) error
	Get(key string, i interface{}) error
	GetInt(key string) (int, error)
	GetStr(key string) (string, error)
	Delete(key string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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