mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 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 FakeRequestHandler

type FakeRequestHandler struct {
	HandleRequestStub func(*web2.ReqContext) (interface{}, int)

	ParsePayloadStub func([]byte) (interface{}, error)
	// contains filtered or unexported fields
}

func (*FakeRequestHandler) HandleRequest

func (fake *FakeRequestHandler) HandleRequest(arg1 *web2.ReqContext) (interface{}, int)

func (*FakeRequestHandler) HandleRequestArgsForCall

func (fake *FakeRequestHandler) HandleRequestArgsForCall(i int) *web2.ReqContext

func (*FakeRequestHandler) HandleRequestCallCount

func (fake *FakeRequestHandler) HandleRequestCallCount() int

func (*FakeRequestHandler) HandleRequestCalls

func (fake *FakeRequestHandler) HandleRequestCalls(stub func(*web2.ReqContext) (interface{}, int))

func (*FakeRequestHandler) HandleRequestReturns

func (fake *FakeRequestHandler) HandleRequestReturns(result1 interface{}, result2 int)

func (*FakeRequestHandler) HandleRequestReturnsOnCall

func (fake *FakeRequestHandler) HandleRequestReturnsOnCall(i int, result1 interface{}, result2 int)

func (*FakeRequestHandler) Invocations

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

func (*FakeRequestHandler) ParsePayload

func (fake *FakeRequestHandler) ParsePayload(arg1 []byte) (interface{}, error)

func (*FakeRequestHandler) ParsePayloadArgsForCall

func (fake *FakeRequestHandler) ParsePayloadArgsForCall(i int) []byte

func (*FakeRequestHandler) ParsePayloadCallCount

func (fake *FakeRequestHandler) ParsePayloadCallCount() int

func (*FakeRequestHandler) ParsePayloadCalls

func (fake *FakeRequestHandler) ParsePayloadCalls(stub func([]byte) (interface{}, error))

func (*FakeRequestHandler) ParsePayloadReturns

func (fake *FakeRequestHandler) ParsePayloadReturns(result1 interface{}, result2 error)

func (*FakeRequestHandler) ParsePayloadReturnsOnCall

func (fake *FakeRequestHandler) ParsePayloadReturnsOnCall(i int, result1 interface{}, result2 error)

Jump to

Keyboard shortcuts

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