Documentation ¶
Overview ¶
Package lru implements simple LRU cache used by Keystore. LRU cache stores in memory some amount of encrypted keys and removes less used keys upon adding new ones.
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 implement keystore.Cache
func NewCacheKeystoreWrapper ¶
NewCacheKeystoreWrapper return new *Cache
Click to show internal directories.
Click to hide internal directories.