package
0.9.10
Repository: https://github.com/skrishna-unix/coredns.git
Documentation: pkg.go.dev

# Functions

RegisterPolicy adds a custom policy to the proxy.

# Variables

SupportedPolicies is the collection of policies registered.

# Structs

HealthCheck is used for performing healthcheck on a collection of upstream hosts and select one based on the policy.
LeastConn is a policy that selects the host with the least connections.
Random is a policy that selects up hosts from a pool at random.
RoundRobin is a policy that selects hosts based on round robin ordering.
Spray is a policy that selects a host from a pool at random.
UpstreamHost represents a single proxy upstream.

# Interfaces

Policy decides how a host will be selected from a pool.

# Type aliases

HostPool is a collection of UpstreamHosts.
UpstreamHostDownFunc can be used to customize how Down behaves.