fakehttp

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 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 Handler

type Handler struct {
	ServeHTTPStub func(http.ResponseWriter, *http.Request)
	// contains filtered or unexported fields
}

func (*Handler) Invocations

func (fake *Handler) Invocations() map[string][][]interface{}

func (*Handler) ServeHTTP

func (fake *Handler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)

func (*Handler) ServeHTTPArgsForCall

func (fake *Handler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)

func (*Handler) ServeHTTPCallCount

func (fake *Handler) ServeHTTPCallCount() int

func (*Handler) ServeHTTPCalls

func (fake *Handler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))

type RoundTripper

type RoundTripper struct {
	RoundTripStub func(*http.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*RoundTripper) Invocations

func (fake *RoundTripper) Invocations() map[string][][]interface{}

func (*RoundTripper) RoundTrip

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

func (*RoundTripper) RoundTripArgsForCall

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

func (*RoundTripper) RoundTripCallCount

func (fake *RoundTripper) RoundTripCallCount() int

func (*RoundTripper) RoundTripCalls

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

func (*RoundTripper) RoundTripReturns

func (fake *RoundTripper) RoundTripReturns(result1 *http.Response, result2 error)

func (*RoundTripper) RoundTripReturnsOnCall

func (fake *RoundTripper) 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