fakehttp

package
v0.5.1-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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) RoundTrip

func (fake *FakeRoundTripper) RoundTrip(arg1 *http.Request) (*http.Response, error)

func (*FakeRoundTripper) RoundTripArgsForCall

func (fake *FakeRoundTripper) RoundTripArgsForCall(i int) *http.Request

func (*FakeRoundTripper) RoundTripCallCount

func (fake *FakeRoundTripper) RoundTripCallCount() int

func (*FakeRoundTripper) RoundTripCalls

func (fake *FakeRoundTripper) RoundTripCalls(stub func(*http.Request) (*http.Response, error))

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL