package
0.0.0-20250313202721-90f863a16df0
Repository: https://github.com/mpolden/zdns.git
Documentation: pkg.go.dev

# Functions

New creates a new cache of given capacity.
NewKey creates a new cache key for the DNS name, qtype and qclass.
NewWithBackend creates a new cache that forwards entries to backend.
Unpack converts a string value into a Value type.

# Structs

Cache is a cache of DNS messages.
Stats contains cache statistics.
Value wraps a DNS message stored in the cache.

# Interfaces

Backend is the interface for a cache backend.