Documentation ¶
Overview ¶
Package digestcache handles cipher digest caching.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DigestCache ¶
DigestCache holds the cache data and logic.
func (*DigestCache) Add ¶
func (dc *DigestCache) Add(hash []byte, text []byte)
Add inserts a record to the cache.
func (*DigestCache) Lookup ¶
func (dc *DigestCache) Lookup(hash []byte) []byte
Lookup finds and returns a record from the cache.
Click to show internal directories.
Click to hide internal directories.