egressoperator

package module
v0.0.0-...-ee0a5d2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EgressOperator

type EgressOperator struct {
	rewrite.Rewrite
	sync.RWMutex
}

EgressOperator is a plugin that automatically rewrites URLs like google.com to point to services managed by egressoperator

func (*EgressOperator) Name

func (e *EgressOperator) Name() string

Name implements the Handler interface.

func (*EgressOperator) ServeDNS

func (e *EgressOperator) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error)

ServeDNS implements the plugin.Handler interface. This method gets called when egressoperator is used in a Server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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