Documentation ¶
Overview ¶
Package loadbalance is plugin for rewriting responses to do "load balancing"
Package loadbalance shuffles A and AAAA records.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoundRobin ¶
RoundRobin is plugin to rewrite responses for "load balancing".
type RoundRobinResponseWriter ¶
type RoundRobinResponseWriter struct {
dns.ResponseWriter
}
RoundRobinResponseWriter is a response writer that shuffles A and AAAA records.
func (*RoundRobinResponseWriter) Hijack ¶
func (r *RoundRobinResponseWriter) Hijack()
Hijack implements the dns.ResponseWriter interface.
Click to show internal directories.
Click to hide internal directories.