mocks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 2 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 HTTPHandler

type HTTPHandler struct {
	HandlerStub func() common.HTTPRequestHandler

	MethodStub func() string

	PathStub func() string
	// contains filtered or unexported fields
}

func (*HTTPHandler) Handler

func (fake *HTTPHandler) Handler() common.HTTPRequestHandler

func (*HTTPHandler) HandlerCallCount

func (fake *HTTPHandler) HandlerCallCount() int

func (*HTTPHandler) HandlerCalls

func (fake *HTTPHandler) HandlerCalls(stub func() common.HTTPRequestHandler)

func (*HTTPHandler) HandlerReturns

func (fake *HTTPHandler) HandlerReturns(result1 common.HTTPRequestHandler)

func (*HTTPHandler) HandlerReturnsOnCall

func (fake *HTTPHandler) HandlerReturnsOnCall(i int, result1 common.HTTPRequestHandler)

func (*HTTPHandler) Invocations

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

func (*HTTPHandler) Method

func (fake *HTTPHandler) Method() string

func (*HTTPHandler) MethodCallCount

func (fake *HTTPHandler) MethodCallCount() int

func (*HTTPHandler) MethodCalls

func (fake *HTTPHandler) MethodCalls(stub func() string)

func (*HTTPHandler) MethodReturns

func (fake *HTTPHandler) MethodReturns(result1 string)

func (*HTTPHandler) MethodReturnsOnCall

func (fake *HTTPHandler) MethodReturnsOnCall(i int, result1 string)

func (*HTTPHandler) Path

func (fake *HTTPHandler) Path() string

func (*HTTPHandler) PathCallCount

func (fake *HTTPHandler) PathCallCount() int

func (*HTTPHandler) PathCalls

func (fake *HTTPHandler) PathCalls(stub func() string)

func (*HTTPHandler) PathReturns

func (fake *HTTPHandler) PathReturns(result1 string)

func (*HTTPHandler) PathReturnsOnCall

func (fake *HTTPHandler) PathReturnsOnCall(i int, result1 string)

Jump to

Keyboard shortcuts

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