forwarder

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarder

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

Forwarder type

func New

func New(cfg *config.Config) *Forwarder

New return forwarder

func (*Forwarder) Name

func (f *Forwarder) Name() string

Name return middleware name

func (*Forwarder) ServeDNS

func (f *Forwarder) ServeDNS(ctx context.Context, ch *middleware.Chain)

ServeDNS implements the Handle interface.

Jump to

Keyboard shortcuts

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