plugin

package
v0.0.0-...-fade99d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL