Documentation ¶ Index ¶ type ForwardIf func New() *ForwardIf func ParseForwardIfStanza(c *caddyfile.Dispenser) (*ForwardIf, error) func (f ForwardIf) Name() string func (f *ForwardIf) OnShutdown() error func (f *ForwardIf) OnStartup() error func (f *ForwardIf) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type ForwardIf ¶ type ForwardIf struct { Forward *forward.Forward Next plugin.Handler // contains filtered or unexported fields } func New ¶ func New() *ForwardIf func ParseForwardIfStanza ¶ func ParseForwardIfStanza(c *caddyfile.Dispenser) (*ForwardIf, error) func (ForwardIf) Name ¶ func (f ForwardIf) Name() string func (*ForwardIf) OnShutdown ¶ func (f *ForwardIf) OnShutdown() error func (*ForwardIf) OnStartup ¶ func (f *ForwardIf) OnStartup() error func (*ForwardIf) ServeDNS ¶ func (f *ForwardIf) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error) Source Files ¶ View all Source files forwardif.go setup.go Click to show internal directories. Click to hide internal directories.