webfakes

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0, BSD-3-Clause, MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeData added in v0.1.6

type FakeData struct {
	DataStub func(v interface{}) error
	// contains filtered or unexported fields
}

func (*FakeData) Data added in v0.1.6

func (fake *FakeData) Data(v interface{}) error

func (*FakeData) DataArgsForCall added in v0.1.6

func (fake *FakeData) DataArgsForCall(i int) interface{}

func (*FakeData) DataCallCount added in v0.1.6

func (fake *FakeData) DataCallCount() int

func (*FakeData) DataReturns added in v0.1.6

func (fake *FakeData) DataReturns(result1 error)

func (*FakeData) DataReturnsOnCall added in v0.1.6

func (fake *FakeData) DataReturnsOnCall(i int, result1 error)

func (*FakeData) Invocations added in v0.1.6

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

type FakeFilter

type FakeFilter struct {
	NameStub func() string

	RunStub func(req *web.Request, next web.Handler) (*web.Response, error)

	FilterMatchersStub func() []web.FilterMatcher
	// contains filtered or unexported fields
}

func (*FakeFilter) FilterMatchers

func (fake *FakeFilter) FilterMatchers() []web.FilterMatcher

func (*FakeFilter) FilterMatchersCallCount

func (fake *FakeFilter) FilterMatchersCallCount() int

func (*FakeFilter) FilterMatchersReturns

func (fake *FakeFilter) FilterMatchersReturns(result1 []web.FilterMatcher)

func (*FakeFilter) FilterMatchersReturnsOnCall

func (fake *FakeFilter) FilterMatchersReturnsOnCall(i int, result1 []web.FilterMatcher)

func (*FakeFilter) Invocations

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

func (*FakeFilter) Name

func (fake *FakeFilter) Name() string

func (*FakeFilter) NameCallCount

func (fake *FakeFilter) NameCallCount() int

func (*FakeFilter) NameReturns

func (fake *FakeFilter) NameReturns(result1 string)

func (*FakeFilter) NameReturnsOnCall

func (fake *FakeFilter) NameReturnsOnCall(i int, result1 string)

func (*FakeFilter) Run

func (fake *FakeFilter) Run(req *web.Request, next web.Handler) (*web.Response, error)

func (*FakeFilter) RunArgsForCall

func (fake *FakeFilter) RunArgsForCall(i int) (*web.Request, web.Handler)

func (*FakeFilter) RunCallCount

func (fake *FakeFilter) RunCallCount() int

func (*FakeFilter) RunReturns

func (fake *FakeFilter) RunReturns(result1 *web.Response, result2 error)

func (*FakeFilter) RunReturnsOnCall

func (fake *FakeFilter) RunReturnsOnCall(i int, result1 *web.Response, result2 error)

type FakeHandler

type FakeHandler struct {
	HandleStub func(req *web.Request) (resp *web.Response, err error)
	// contains filtered or unexported fields
}

func (*FakeHandler) Handle

func (fake *FakeHandler) Handle(req *web.Request) (resp *web.Response, err error)

func (*FakeHandler) HandleArgsForCall

func (fake *FakeHandler) HandleArgsForCall(i int) *web.Request

func (*FakeHandler) HandleCallCount

func (fake *FakeHandler) HandleCallCount() int

func (*FakeHandler) HandleReturns

func (fake *FakeHandler) HandleReturns(result1 *web.Response, result2 error)

func (*FakeHandler) HandleReturnsOnCall

func (fake *FakeHandler) HandleReturnsOnCall(i int, result1 *web.Response, result2 error)

func (*FakeHandler) Invocations

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

Jump to

Keyboard shortcuts

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