fanout

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package fanout sends incoming queries in parallel to few endpoints

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDNSHandler

func NewDNSHandler(opts ...Option) dnsutils.Handler

NewDNSHandler creates a new dns handler instance that sends incoming queries in parallel to few endpoints

Types

type Option added in v1.5.0

type Option func(*fanoutHandler)

Option modifies default fanout dns handler values

func WithDefaultDNSPort added in v1.5.0

func WithDefaultDNSPort(port uint16) Option

WithDefaultDNSPort sets default DNS port for fanout dns handler if it is not presented in the client's URL

Jump to

Keyboard shortcuts

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