Documentation ¶ Index ¶ func NewClient() *http.Client func NewClientWithCache(cache httpcache.Cache) *http.Client Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient() *http.Client NewClient creates a new *http.Client which caches http responses on disk so that certain operations can be performed without an active internet connection if there's at least a stale cached response for an http request. func NewClientWithCache ¶ func NewClientWithCache(cache httpcache.Cache) *http.Client NewClientWithCache creates a new *http.Client which uses cache for response caching. Types ¶ This section is empty. Source Files ¶ View all Source files client.goheaders.gotransport.go Click to show internal directories. Click to hide internal directories.