emergmsg

package
v0.0.0-...-7c17589 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emergmsg

type Emergmsg struct {
	Next plugin.Handler
	// contains filtered or unexported fields
}

func New

func New(next plugin.Handler, delim, addr, key string) (*Emergmsg, error)

func (*Emergmsg) Name

func (e *Emergmsg) Name() string

func (*Emergmsg) Ready

func (e *Emergmsg) Ready() bool

Ready implements the ready.Readiness interface, once this flips to true CoreDNS assumes this plugin is ready for queries; it is not checked again.

func (*Emergmsg) ServeDNS

func (e *Emergmsg) 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