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) IsAuthorized(arg1 *http.Request, arg2 *auth.Token) (bool, error)
- func (fake *FakeRouteHandler) IsAuthorizedArgsForCall(i int) (*http.Request, *auth.Token)
- func (fake *FakeRouteHandler) IsAuthorizedCallCount() int
- func (fake *FakeRouteHandler) IsAuthorizedReturns(result1 bool, result2 error)
- func (fake *FakeRouteHandler) Route() string
- func (fake *FakeRouteHandler) RouteCallCount() int
- func (fake *FakeRouteHandler) RouteReturns(result1 string)
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 IsAuthorizedStub func(*http.Request, *auth.Token) (bool, 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) IsAuthorized ¶
func (*FakeRouteHandler) IsAuthorizedArgsForCall ¶
func (*FakeRouteHandler) IsAuthorizedCallCount ¶
func (fake *FakeRouteHandler) IsAuthorizedCallCount() int
func (*FakeRouteHandler) IsAuthorizedReturns ¶
func (fake *FakeRouteHandler) IsAuthorizedReturns(result1 bool, result2 error)
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)
Click to show internal directories.
Click to hide internal directories.