fanout

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

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

type Option func(*fanoutHandler)

Option modifies default fanout dns handler values

func WithDefaultDNSPort

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