Documentation
¶
Overview ¶
Package level implements the cacheme.Backend interface using LevelDB as its storage backend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache is an implementation of the cacheme.Backend interface, using LevelDB as its backend to provide persistence.
func (*Cache) Install ¶
Install adds a key-value-pair with the given TTL to the Cache. If the key already exists, it is silently replaced.
Click to show internal directories.
Click to hide internal directories.