Versions in this module Expand all Collapse all v1 v1.7.28 Jan 13, 2021 Changes in this version + type BackendConfig struct + func NewBackendConfig(options Options, backendName string) *BackendConfig + type BalancerHandler interface + RemoveServer func(u *url.URL) error + ServeHTTP func(w http.ResponseWriter, req *http.Request) + Servers func() []*url.URL + UpsertServer func(u *url.URL, options ...roundrobin.ServerOption) error + type HealthCheck struct + Backends map[string]*BackendConfig + func GetHealthCheck(metrics metricsRegistry) *HealthCheck + func (hc *HealthCheck) SetBackendsConfiguration(parentCtx context.Context, backends map[string]*BackendConfig) + type Options struct + Headers map[string]string + Hostname string + Interval time.Duration + LB BalancerHandler + Path string + Port int + Scheme string + Transport http.RoundTripper + func (opt Options) String() string