// ClientFactoryForAddress returns a http.Client factory that connects from a given address.
ClientFactoryForAddress returns a http.Client factory that connects from a given address.
// ClientFactoryForAddress returns a http . Client factory that connects from a given address .
func ClientFactoryForAddress(address net.IP, timeoutFactor uint64) HTTPClientFactoryFunc {
	factory := func() *http.Client {
		return newHTTPClient(&net.TCPAddr{
			IP:   address,
			Port: 0,
		}, timeoutFactor)
	}
	return factory
}
func ClientFactoryForAddress ( address net . IP , timeoutFactor uint64 ) HTTPClientFactoryFunc { factory := func ( ) * http . Client { return newHTTPClient ( & net . TCPAddr { IP : address , Port : 0 , } , timeoutFactor ) } return factory }
ClientFactoryForAddress returns a http.Client factory that connects from a given address.
ClientFactoryForAddress returns a http . Client factory that connects from a given address .