mocks

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 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 {
	PathStub func() string

	MethodStub func() string

	HandlerStub func() common.HTTPRequestHandler
	// contains filtered or unexported fields
}

func (*HTTPHandler) Handler

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

func (*HTTPHandler) HandlerCallCount

func (fake *HTTPHandler) HandlerCallCount() int

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