server

package
v0.0.0-...-f11fd7f Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(zone, listenAddress string, dockerResolver, forwardResolver resolver.Resolverer) *Server

func (*Server) HandleDocker

func (s *Server) HandleDocker(proto string, w dns.ResponseWriter, req *dns.Msg)

func (*Server) HandleForward

func (s *Server) HandleForward(proto string, w dns.ResponseWriter, req *dns.Msg)

func (*Server) Run

func (s *Server) Run()

Jump to

Keyboard shortcuts

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