as112

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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