proxy

package
v0.5.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2014 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(t *http.Transport, urlsFunc GetProxyURLs) http.Handler

func NewReadonlyHandler

func NewReadonlyHandler(hdlr http.Handler) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL