Versions in this module Expand all Collapse all v1 v1.0.2 Jan 2, 2021 Changes in this version + func ContextWithMetadata(ctx context.Context) context.Context + func IsLabel(label string) bool + func Labels(ctx context.Context) []string + func SetValueFunc(ctx context.Context, label string, f Func) bool + func ValueFuncs(ctx context.Context) map[string]Func + type Func func() string + func ValueFunc(ctx context.Context, label string) Func + type Metadata struct + Next plugin.Handler + Providers []Provider + Zones []string + func (m *Metadata) Name() string + func (m *Metadata) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) + type Provider interface + Metadata func(ctx context.Context, state request.Request) context.Context