fake

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 {
	Stub func(*http.Request) (*routing.Response, error)
	// contains filtered or unexported fields
}

func (*Handler) ArgsForCall

func (fake *Handler) ArgsForCall(i int) *http.Request

func (*Handler) CallCount

func (fake *Handler) CallCount() int

func (*Handler) Calls

func (fake *Handler) Calls(stub func(*http.Request) (*routing.Response, error))

func (*Handler) Invocations

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

func (*Handler) Returns

func (fake *Handler) Returns(result1 *routing.Response, result2 error)

func (*Handler) ReturnsOnCall

func (fake *Handler) ReturnsOnCall(i int, result1 *routing.Response, result2 error)

func (*Handler) Spy

func (fake *Handler) Spy(arg1 *http.Request) (*routing.Response, error)

Jump to

Keyboard shortcuts

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