Documentation ¶
Overview ¶
Package loadbalance is middleware for rewriting responses to do "load balancing"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoundRobin ¶
type RoundRobin struct {
Next middleware.Handler
}
RoundRobin is middleware to rewrite responses for "load balancing".
type RoundRobinResponseWriter ¶
type RoundRobinResponseWriter struct {
dns.ResponseWriter
}
func NewRoundRobinResponseWriter ¶
func NewRoundRobinResponseWriter(w dns.ResponseWriter) *RoundRobinResponseWriter
func (*RoundRobinResponseWriter) Hijack ¶
func (r *RoundRobinResponseWriter) Hijack()
Click to show internal directories.
Click to hide internal directories.