Documentation ¶
Overview ¶
Package d2cache provides a generic caching implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCache ¶
func CreateCache(budget int) d2interface.Cache
CreateCache creates an instance of a Cache
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache stores arbitrary data for fast retrieval
func (*Cache) SetVerbose ¶
SetVerbose turns on verbose printing (warnings and stuff)
Click to show internal directories.
Click to hide internal directories.