reqfakes

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRouteHandler

type FakeRouteHandler struct {
	RouteStub func() string

	ExecuteStub func(req.Request) error

	VerifyAuthorizationStub func(*http.Request, *auth.Token) error
	// contains filtered or unexported fields
}

func (*FakeRouteHandler) Execute

func (fake *FakeRouteHandler) Execute(arg1 req.Request) error

func (*FakeRouteHandler) ExecuteArgsForCall

func (fake *FakeRouteHandler) ExecuteArgsForCall(i int) req.Request

func (*FakeRouteHandler) ExecuteCallCount

func (fake *FakeRouteHandler) ExecuteCallCount() int

func (*FakeRouteHandler) ExecuteReturns

func (fake *FakeRouteHandler) ExecuteReturns(result1 error)

func (*FakeRouteHandler) Invocations

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

func (*FakeRouteHandler) Route

func (fake *FakeRouteHandler) Route() string

func (*FakeRouteHandler) RouteCallCount

func (fake *FakeRouteHandler) RouteCallCount() int

func (*FakeRouteHandler) RouteReturns

func (fake *FakeRouteHandler) RouteReturns(result1 string)

func (*FakeRouteHandler) VerifyAuthorization added in v0.7.0

func (fake *FakeRouteHandler) VerifyAuthorization(arg1 *http.Request, arg2 *auth.Token) error

func (*FakeRouteHandler) VerifyAuthorizationArgsForCall added in v0.7.0

func (fake *FakeRouteHandler) VerifyAuthorizationArgsForCall(i int) (*http.Request, *auth.Token)

func (*FakeRouteHandler) VerifyAuthorizationCallCount added in v0.7.0

func (fake *FakeRouteHandler) VerifyAuthorizationCallCount() int

func (*FakeRouteHandler) VerifyAuthorizationReturns added in v0.7.0

func (fake *FakeRouteHandler) VerifyAuthorizationReturns(result1 error)

Jump to

Keyboard shortcuts

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