dnsproxy

package
v10.289.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Proxy struct represents the object for dns proxy

func New

New creates an instance of the dns proxy

func (*Proxy) ShutdownDNS

func (p *Proxy) ShutdownDNS(contextID string)

ShutdownDNS shuts down the dns server for contextID

func (*Proxy) StartDNSServer

func (p *Proxy) StartDNSServer(contextID, port string) error

StartDNSServer starts the dns server on the port provided for contextID

Jump to

Keyboard shortcuts

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