sdns: Index | Files

package as112

import ""


Package Files


type AS112 Uses

type AS112 struct {
    // contains filtered or unexported fields

AS112 type

func New Uses

func New(cfg *config.Config) *AS112

New return a new middleware

func (*AS112) Match Uses

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

Match returns whether or not a name contains in the zones

func (*AS112) Name Uses

func (a *AS112) Name() string

Name return middleware name

func (*AS112) ServeDNS Uses

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

ServeDNS implements the Handle interface.

Package as112 imports 6 packages (graph) and is imported by 1 packages. Updated 2020-10-28. Refresh now. Tools for package owners.