package
Version:
v0.0.0-...-7d4bd5b
Opens a new window with list of versions in this module.
Published: Dec 13, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SetValue(value interface{}, result interface{})
SetValue will write result to value
type Cache interface {
GetAndLoad(key string, value interface{}, loader func() (interface{}, error)) error
}
Cache can GetAndLoad items
NewMock returns a Cache that doesn't actually cache anything
type Logger interface {
Printf(format string, v ...interface{})
}
Logger can log using Printf
Storage provides Get and Set to a cache backend
Source Files
¶
Click to show internal directories.
Click to hide internal directories.