Versions in this module Expand all Collapse all v1 v1.3.0-alpha.1 Mar 29, 2016 v1.3.0-alpha.0 Mar 4, 2016 v1.2.4-beta.0 Apr 22, 2016 v1.2.3-beta.0 Apr 8, 2016 v1.2.2 Apr 8, 2016 v1.2.2-beta.0 Apr 1, 2016 v1.2.1 Apr 1, 2016 v1.2.1-beta.0 Mar 16, 2016 v1.2.0 Mar 16, 2016 Changes in this version + func ChooseBindAddress(bindAddress net.IP) (net.IP, error) + func ChooseHostInterface() (net.IP, error) + func FormatURL(scheme string, host string, port int, path string) *url.URL + func GetClientIP(req *http.Request) net.IP + func GetHTTPClient(req *http.Request) string + func IsProbableEOF(err error) bool + func JoinSchemeNamePort(scheme, name, port string) string + func SetTransportDefaults(t *http.Transport) *http.Transport + func SplitSchemeNamePort(id string) (scheme, name, port string, valid bool) + func TLSClientConfig(transport http.RoundTripper) (*tls.Config, error) + type DialFunc func(net, addr string) (net.Conn, error) + func Dialer(transport http.RoundTripper) (DialFunc, error) + type PortRange struct + Base int + Size int + func ParsePortRange(value string) (*PortRange, error) + func ParsePortRangeOrDie(value string) *PortRange + func (*PortRange) Type() string + func (pr *PortRange) Contains(p int) bool + func (pr *PortRange) Set(value string) error + func (pr PortRange) String() string + type RoundTripperWrapper interface + WrappedRoundTripper func() http.RoundTripper + type Route struct + Destination net.IP + Gateway net.IP + Interface string v1.2.0-beta.1 Mar 11, 2016 v1.2.0-beta.0 Mar 4, 2016