Back to godoc.org

Package dnsproxy

v10.286.1+incompatible
Latest Go to latest

The latest major version is .

Published: Jul 8, 2020 | License: Apache-2.0 | Module: go.aporeto.io/trireme-lib

Index

type Proxy

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

Proxy struct represents the object for dns proxy

func New

func New(puFromID cache.DataStore, conntrack flowtracking.FlowClient, c collector.EventCollector, aclmanager ipsetmanager.ACLManager) *Proxy

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier