Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Success is the class for caching positive caching. Success = "success" // Denial is the class defined for negative caching. Denial = "denial" )
Variables ¶
This section is empty.
Functions ¶
func FromString ¶
FromString converts s back into a DNS message.
Types ¶
type Redis ¶
type Redis struct { Next plugin.Handler Zones []string DontUseHash bool // contains filtered or unexported fields }
Redis is plugin that looks up responses in a cache and caches replies. It has a success and a denial of existence cache.
type ResponseWriter ¶
type ResponseWriter struct { dns.ResponseWriter *Redis DontUseHash bool // contains filtered or unexported fields }
ResponseWriter is a response writer that caches the reply message in Redis.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.