edns

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSResponseWriter

type DNSResponseWriter struct {
	ctx.ResponseWriter
	// contains filtered or unexported fields
}

DNSResponseWriter implement of ctx.ResponseWriter

func (*DNSResponseWriter) WriteMsg

func (w *DNSResponseWriter) WriteMsg(m *dns.Msg) error

WriteMsg implements the ctx.ResponseWriter interface

type EDNS

type EDNS struct {
}

EDNS type

func New

func New(cfg *config.Config) *EDNS

New return edns

func (*EDNS) Name

func (e *EDNS) Name() string

Name return middleware name

func (*EDNS) ServeDNS

func (e *EDNS) ServeDNS(dc *ctx.Context)

ServeDNS implements the Handle interface.

Jump to

Keyboard shortcuts

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