Versions in this module Expand all Collapse all v1 v1.0.1 Oct 21, 2015 v1.0.0 Oct 17, 2015 Changes in this version + func SetPickerStrategy(s string) error + func SetTable(t Table) + func Shutdown() + func ShuttingDown() bool + type Proxy struct + func NewProxy(tr http.RoundTripper, clientIPHeader, tlsHeader, tlsHeaderValue string) *Proxy + func (p *Proxy) ServeHTTP(w http.ResponseWriter, req *http.Request) + type Table map[string]routes + func GetTable() Table + func Parse(r io.Reader) (Table, error) + func ParseFile(path string) (Table, error) + func ParseString(s string) (Table, error) + func (t Table) AddRoute(service, prefix, target string, weight float64, tags []string) error + func (t Table) AddRouteWeight(service, prefix string, weight float64, tags []string) error + func (t Table) Config(addWeight bool) []string + func (t Table) DelRoute(service, prefix, target string) error + func (t Table) String() string