//
pkg.gl
Category
github.com/promoboxx/go-cache
src
cache
package
0.0.0-20181213202604-7d4bd5b61d19
Repository:
https://github.com/promoboxx/go-cache.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
90 SLOC
#
Functions
New
New returns a new *Cache.
NewMock
NewMock returns a Cache that doesn't actually cache anything.
SetValue
SetValue will write result to value.
#
Interfaces
Cache
Cache can GetAndLoad items.
Logger
Logger can log using Printf.
Storage
Storage provides Get and Set to a cache backend.