Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeRouteHandler
- func (fake *FakeRouteHandler) Execute(arg1 req.Request) error
- func (fake *FakeRouteHandler) ExecuteArgsForCall(i int) req.Request
- func (fake *FakeRouteHandler) ExecuteCallCount() int
- func (fake *FakeRouteHandler) ExecuteReturns(result1 error)
- func (fake *FakeRouteHandler) Invocations() map[string][][]interface{}
- func (fake *FakeRouteHandler) Route() string
- func (fake *FakeRouteHandler) RouteCallCount() int
- func (fake *FakeRouteHandler) RouteReturns(result1 string)
- func (fake *FakeRouteHandler) VerifyAuthorization(arg1 *http.Request, arg2 *auth.Token) error
- func (fake *FakeRouteHandler) VerifyAuthorizationArgsForCall(i int) (*http.Request, *auth.Token)
- func (fake *FakeRouteHandler) VerifyAuthorizationCallCount() int
- func (fake *FakeRouteHandler) VerifyAuthorizationReturns(result1 error)
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) 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 (*FakeRouteHandler) VerifyAuthorizationArgsForCall ¶ added in v0.7.0
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)
Click to show internal directories.
Click to hide internal directories.