Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Service = dependency.Service{ Name: "httpclient", Constructor: New, }
Service adds the ability to use the *http.Client type to the dependency injection container
Functions ¶
Types ¶
type Params ¶
Params contains all of the required parameters to create an *http.Client, allowing you to wrap the transport
type Tripper ¶
type Tripper func(tripper http.RoundTripper) http.RoundTripper
Tripper is a type that can wrap an http.RoundTripper
Click to show internal directories.
Click to hide internal directories.