package
Version:
v0.5.2
Opens a new window with list of versions in this module.
Published: May 19, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Key uses the name, type and rdata, which is serialized and then hashed as the key for the lookup.
QuestionKey creates a hash key from a question section. It creates a different key
for requests with DNSSEC.
Cache is a ...
New returns a new cache with the capacity and the ttl specified.
InsertMessage inserts a message in the Cache. We will cache it for ttl seconds, which
should be a small (60...300) integer.
InsertSignature inserts a signature, the expiration time is used as the cache ttl.
Remove removes the element under key s from the cache.
Search returns .... and a boolean indicating if we found something
in the cache.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.