Versions in this module Expand all Collapse all v1 v1.13.0 Dec 8, 2016 Changes in this version type HttpClient + Header http.Header + InitialBackoff time.Duration + func NewHttpClientHeader(header http.Header) *HttpClient v1.4.1 May 13, 2015 Changes in this version + const HTTP_2xx + const HTTP_4xx + func ExpBackoff(interval, max time.Duration) time.Duration + type Err error + type ErrInvalid struct + type ErrNetwork struct + type ErrNotFound struct + type ErrServer struct + type ErrTimeout struct + type Getter interface + Get func(string) ([]byte, error) + GetRetry func(string) ([]byte, error) + type HttpClient struct + MaxBackoff time.Duration + MaxRetries int + SkipTLS bool + Timeout time.Duration + func NewHttpClient() *HttpClient + func (h *HttpClient) Get(dataURL string) ([]byte, error) + func (h *HttpClient) GetRetry(rawurl string) ([]byte, error)