Documentation ¶
Overview ¶
Package nameshift is a CoreDNS plugin that prints "nameshift" to stdout on every packet received. It serves as an nameshift CoreDNS plugin with numerous code comments.
Index ¶
Constants ¶
View Source
const ( DefaultRedisAddress = "127.0.0.1:6379" DefaultRedisUsername = "default" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Nameshift ¶
type Nameshift struct { Next plugin.Handler Prefix string Client *redis.Client // contains filtered or unexported fields }
Nameshift is an nameshift plugin to show how to write a plugin.
Click to show internal directories.
Click to hide internal directories.