Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AS112

type AS112 struct {
	// contains filtered or unexported fields
}

    AS112 type

    func New

    func New(cfg *config.Config) *AS112

      New return a new middleware

      func (*AS112) Match

      func (a *AS112) Match(name string, qtype uint16) string

        Match returns whether or not a name contains in the zones

        func (*AS112) Name

        func (a *AS112) Name() string

          Name return middleware name

          func (*AS112) ServeDNS

          func (a *AS112) ServeDNS(ctx context.Context, ch *middleware.Chain)

            ServeDNS implements the Handle interface.

            Source Files