Package httpcontrol allows for HTTP transport level control around timeouts and retries.
Latest commit ccde442 Jul 8, 2015 @daaku daaku remove now busted example

httpcontrol Build Status

import ""

Package httpcontrol allows a HTTP transport supporting connection pooling, timeouts & retries.

This Transport is built on top of the standard library transport and augments it with additional features. Using it can be as simple as:

client := &http.Client{
    Transport: &httpcontrol.Transport{
        RequestTimeout: time.Minute,
        MaxTries: 3,
res, err := client.Get("")