package
0.0.0-20240214190408-36c2227dee3d
Repository: https://github.com/khulnasoft-lab/dnserver.git
Documentation: pkg.go.dev

# Functions

NewHealthChecker returns a new HealthChecker based on transport.
NewProxy returns a new proxy.

# Variables

ErrCachedClosed means cached connection was closed by peer.
ErrNoForward means no forwarder defined.
ErrNoHealthy means no healthy proxies left.

# Structs

Options holds various Options that can be set.
Proxy defines an upstream host.
Transport hold the persistent cache.

# Interfaces

HealthChecker checks the upstream health.