gocacher

package module
v0.0.0-...-4e485ae Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 10 Imported by: 0

README

cacher

my cache tool for golang

File

在需要操作interface{}的场景,需要程序先执行过该interface{}的保存方法后,才能进行读取。 这是因为做了gob的转码处理,在保存方法中才进行gob的注册。 如果没有执行过保存而是直接读取缓存,会获取nil

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KeyNotExistError = errors.New("key not exist")
	KeyExpireError   = errors.New("key expired")
)
View Source
var File cacher
View Source
var Memory cacher

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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