v1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2018 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	ListenAddress  string
	ListenProtocol []string
	// contains filtered or unexported fields
}

Server implements DNS server with dns.Handler

func (*Server) RegisterPlugins

func (s *Server) RegisterPlugins(p plugin.Object) error

RegisterPlugins for server

func (*Server) Run

func (s *Server) Run()

Run server

func (*Server) ServeDNS

func (s *Server) ServeDNS(w dns.ResponseWriter, m *dns.Msg)

ServeDNS implements dns.Handler interface

func (*Server) Stop

func (s *Server) Stop()

Stop the server graceful

Jump to

Keyboard shortcuts

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