Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(t *http.Transport, urlsFunc GetProxyURLs) http.Handler
Types ¶
type GetProxyURLs ¶
type GetProxyURLs func() []string
GetProxyURLs is a function which should return the current set of URLs to which client requests should be proxied. This function will be queried periodically by the proxy Handler to refresh the set of available backends.
Click to show internal directories.
Click to hide internal directories.