Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = false
View Source
var ErrNotFound = errors.New("key not found in cache")
View Source
var L1Expiration = 60 // 60sec
View Source
var L1Size = 40 * 1024 * 1024 //40MB
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func NewCacheWithFallback ¶
Click to show internal directories.
Click to hide internal directories.