routerfakes

package
v6.47.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 FakeConnection

type FakeConnection struct {
	MakeStub func(*router.Request, *router.Response) error
	// contains filtered or unexported fields
}

func (*FakeConnection) Invocations

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

func (*FakeConnection) Make

func (fake *FakeConnection) Make(arg1 *router.Request, arg2 *router.Response) error

func (*FakeConnection) MakeArgsForCall

func (fake *FakeConnection) MakeArgsForCall(i int) (*router.Request, *router.Response)

func (*FakeConnection) MakeCallCount

func (fake *FakeConnection) MakeCallCount() int

func (*FakeConnection) MakeCalls

func (fake *FakeConnection) MakeCalls(stub func(*router.Request, *router.Response) error)

func (*FakeConnection) MakeReturns

func (fake *FakeConnection) MakeReturns(result1 error)

func (*FakeConnection) MakeReturnsOnCall

func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error)

type FakeConnectionWrapper

type FakeConnectionWrapper struct {
	MakeStub func(*router.Request, *router.Response) error

	WrapStub func(router.Connection) router.Connection
	// contains filtered or unexported fields
}

func (*FakeConnectionWrapper) Invocations

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

func (*FakeConnectionWrapper) Make

func (fake *FakeConnectionWrapper) Make(arg1 *router.Request, arg2 *router.Response) error

func (*FakeConnectionWrapper) MakeArgsForCall

func (fake *FakeConnectionWrapper) MakeArgsForCall(i int) (*router.Request, *router.Response)

func (*FakeConnectionWrapper) MakeCallCount

func (fake *FakeConnectionWrapper) MakeCallCount() int

func (*FakeConnectionWrapper) MakeCalls

func (fake *FakeConnectionWrapper) MakeCalls(stub func(*router.Request, *router.Response) error)

func (*FakeConnectionWrapper) MakeReturns

func (fake *FakeConnectionWrapper) MakeReturns(result1 error)

func (*FakeConnectionWrapper) MakeReturnsOnCall

func (fake *FakeConnectionWrapper) MakeReturnsOnCall(i int, result1 error)

func (*FakeConnectionWrapper) Wrap

func (*FakeConnectionWrapper) WrapArgsForCall

func (fake *FakeConnectionWrapper) WrapArgsForCall(i int) router.Connection

func (*FakeConnectionWrapper) WrapCallCount

func (fake *FakeConnectionWrapper) WrapCallCount() int

func (*FakeConnectionWrapper) WrapCalls

func (fake *FakeConnectionWrapper) WrapCalls(stub func(router.Connection) router.Connection)

func (*FakeConnectionWrapper) WrapReturns

func (fake *FakeConnectionWrapper) WrapReturns(result1 router.Connection)

func (*FakeConnectionWrapper) WrapReturnsOnCall

func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 router.Connection)

Jump to

Keyboard shortcuts

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