Versions in this module Expand all Collapse all v0 v0.7.0 Dec 22, 2014 Changes in this version + const BalancerId + const DefaultHttpDialTimeout + const DefaultHttpReadTimeout + const DefaultKeepAlivePeriod + const DefaultMaxIdleConnsPerHost + const DefaultTlsHandshakeTimeout + const RewriterId + func NewTransport(o TransportOptions) *http.Transport + type HttpLocation struct + func NewLocation(id string, loadBalancer loadbalance.LoadBalancer) (*HttpLocation, error) + func NewLocationWithOptions(id string, loadBalancer loadbalance.LoadBalancer, o Options) (*HttpLocation, error) + func (l *HttpLocation) GetId() string + func (l *HttpLocation) GetLoadBalancer() loadbalance.LoadBalancer + func (l *HttpLocation) GetMiddlewareChain() *middleware.MiddlewareChain + func (l *HttpLocation) GetObserverChain() *middleware.ObserverChain + func (l *HttpLocation) GetOptions() Options + func (l *HttpLocation) GetOptionsAndTransport() (Options, *http.Transport) + func (l *HttpLocation) RoundTrip(req request.Request) (*http.Response, error) + func (l *HttpLocation) SetOptions(o Options) error + func (l *HttpLocation) SetTransport(t *http.Transport) error + type KeepAlive struct + MaxIdleConnsPerHost int + Period time.Duration + type Limits struct + MaxBodyBytes int64 + MaxMemBodyBytes int64 + type Options struct + FailoverPredicate threshold.Predicate + Hostname string + KeepAlive KeepAlive + Limits Limits + TimeProvider timetools.TimeProvider + Timeouts Timeouts + Transport *http.Transport + TrustForwardHeader bool + type Rewriter struct + Hostname string + TrustForwardHeader bool + func (rw *Rewriter) ProcessRequest(r request.Request) (*http.Response, error) + func (tl *Rewriter) ProcessResponse(r request.Request, a request.Attempt) + type Timeouts struct + Dial time.Duration + Read time.Duration + TlsHandshake time.Duration + type TransportOptions struct + KeepAlive KeepAlive + Timeouts Timeouts