Versions in this module Expand all Collapse all v0 v0.0.1 Jan 7, 2021 Changes in this version + type Config struct + Policy RuleSet + Service string + func DefaultConfig() Config + func (cfg *Config) Load(c *caddy.Controller) error + func (cfg Config) Validate() error + type EventInfo struct + Level event.Level + Raise bool + func ToEventInfo(value string) (EventInfo, error) + type Plugin struct + Fall fall.F + Next plugin.Handler + func New(cfg Config) (*Plugin, error) + func (p *Plugin) Shutdown() error + func (p *Plugin) Start() error + func (p Plugin) Health() bool + func (p Plugin) Name() string + func (p Plugin) ServeDNS(ctx context.Context, writer dns.ResponseWriter, query *dns.Msg) (int, error) + type Rule struct + Event EventInfo + Log bool + func ToRule(s string) (Rule, error) + type RuleSet struct + MaxClientRequests Rule + MaxNamesResolved Rule