Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = Logger{Device: os.Stderr}
Functions ¶
func DecodeConfig ¶
func DecodeConfig(v interface{}) error
DecodeConfig decodes the configuration of the plugin from environment variable to the v. Method returns nil when configuration is missing in environment.
func ServeCore ¶
func ServeCore(h CoreHandler)
Types ¶
type CoreHandler ¶
CoreHandler is an interface for CoreDNS plugins without the Name method. This extension allows to reuse CoreDNS plugins almost without modifications.
Click to show internal directories.
Click to hide internal directories.