package
0.0.0-20200905011538-4adf5f2d2530
Repository: https://github.com/sharpbai/go-dnsmasq.git
Documentation: pkg.go.dev

# Functions

Key creates a hash key from a question section.
Key uses the name, type and rdata, which is serialized and then hashed as the key for the lookup.
New returns a new cache with the capacity and the ttl specified.

# Structs

Cache is a cache that holds on the a number of RRs or DNS messages.