package
0.4.0
Repository: https://github.com/fpgeek/mesos-dns.git
Documentation: pkg.go.dev

# Functions

Decorate decorates an Exchanger with the given Decorators.
ErrorLogging returns a Decorator which logs an Exchanger's errors to the given logger.
Instrumentation returns a Decorator which instruments an Exchanger with the given counters.
NewForwarder returns a new Forwarder for the given addrs with the given Exchangers map which maps network protocols to Exchangers.

# Structs

A ForwardError is returned by Forwarders when they can't forward.

# Interfaces

Exchanger is an interface capturing a dns.Client Exchange method.

# Type aliases

A Decorator adds a layer of behaviour to a given Exchanger.
A Forwarder is a DNS message forwarder that transparently proxies messages to DNS servers.
Func is a function type that implements the Exchanger interface.