Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeHandler
- func (fake *FakeHandler) Invocations() map[string][][]interface{}
- func (fake *FakeHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)
- func (fake *FakeHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)
- func (fake *FakeHandler) ServeHTTPCallCount() int
- func (fake *FakeHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))
- type FakeRoundTripper
- func (fake *FakeRoundTripper) Invocations() map[string][][]interface{}
- func (fake *FakeRoundTripper) RoundTrip(arg1 *http.Request) (*http.Response, error)
- func (fake *FakeRoundTripper) RoundTripArgsForCall(i int) *http.Request
- func (fake *FakeRoundTripper) RoundTripCallCount() int
- func (fake *FakeRoundTripper) RoundTripCalls(stub func(*http.Request) (*http.Response, error))
- func (fake *FakeRoundTripper) RoundTripReturns(result1 *http.Response, result2 error)
- func (fake *FakeRoundTripper) RoundTripReturnsOnCall(i int, result1 *http.Response, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHandler ¶
type FakeHandler struct { ServeHTTPStub func(http.ResponseWriter, *http.Request) // contains filtered or unexported fields }
func (*FakeHandler) Invocations ¶
func (fake *FakeHandler) Invocations() map[string][][]interface{}
func (*FakeHandler) ServeHTTP ¶
func (fake *FakeHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)
func (*FakeHandler) ServeHTTPArgsForCall ¶
func (fake *FakeHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)
func (*FakeHandler) ServeHTTPCallCount ¶
func (fake *FakeHandler) ServeHTTPCallCount() int
func (*FakeHandler) ServeHTTPCalls ¶
func (fake *FakeHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))
type FakeRoundTripper ¶
type FakeRoundTripper struct { RoundTripStub func(*http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeRoundTripper) Invocations ¶
func (fake *FakeRoundTripper) Invocations() map[string][][]interface{}
func (*FakeRoundTripper) RoundTripArgsForCall ¶
func (fake *FakeRoundTripper) RoundTripArgsForCall(i int) *http.Request
func (*FakeRoundTripper) RoundTripCallCount ¶
func (fake *FakeRoundTripper) RoundTripCallCount() int
func (*FakeRoundTripper) RoundTripCalls ¶
func (*FakeRoundTripper) RoundTripReturns ¶
func (fake *FakeRoundTripper) RoundTripReturns(result1 *http.Response, result2 error)
func (*FakeRoundTripper) RoundTripReturnsOnCall ¶
func (fake *FakeRoundTripper) RoundTripReturnsOnCall(i int, result1 *http.Response, result2 error)
Click to show internal directories.
Click to hide internal directories.