Documentation ¶
Index ¶
- type HTTPClient
- func (_m *HTTPClient) Close()
- func (_m *HTTPClient) Do(_a0 *http.Request) (*http.Response, error)
- func (_m *HTTPClient) Get(url string) (*http.Response, error)
- func (_m *HTTPClient) GetUrl(endpoint string) string
- func (_m *HTTPClient) Post(url string, contentType string, body io.Reader) (*http.Response, error)
- type HTTPClientFactory
- type TransportFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
HTTPClient is an autogenerated mock type for the HTTPClient type
func (*HTTPClient) Close ¶
func (_m *HTTPClient) Close()
Close provides a mock function with given fields:
func (*HTTPClient) Get ¶
func (_m *HTTPClient) Get(url string) (*http.Response, error)
Get provides a mock function with given fields: url
func (*HTTPClient) GetUrl ¶
func (_m *HTTPClient) GetUrl(endpoint string) string
GetUrl provides a mock function with given fields: endpoint
type HTTPClientFactory ¶
HTTPClientFactory is an autogenerated mock type for the HTTPClientFactory type
func (*HTTPClientFactory) NewHTTPClient ¶
func (_m *HTTPClientFactory) NewHTTPClient(options net.Options, logger log.Logger) (*net.Client, error)
NewHTTPClient provides a mock function with given fields: options, logger
type TransportFactory ¶
TransportFactory is an autogenerated mock type for the TransportFactory type
func (*TransportFactory) NewTransport ¶
func (_m *TransportFactory) NewTransport(options net.Options) *net.Transport
NewTransport provides a mock function with given fields: options
Click to show internal directories.
Click to hide internal directories.