Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeHandler
- type FakeTokenValidator
- func (fake *FakeTokenValidator) Invocations() map[string][][]interface{}
- func (fake *FakeTokenValidator) Validate(token string) error
- func (fake *FakeTokenValidator) ValidateArgsForCall(i int) string
- func (fake *FakeTokenValidator) ValidateCallCount() int
- func (fake *FakeTokenValidator) ValidateReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHandler ¶
type FakeHandler struct { ServeHTTPStub func(http.ResponseWriter, *http.Request) // contains filtered or unexported fields }
func (*FakeHandler) Invocations ¶
func (fake *FakeHandler) Invocations() map[string][][]interface{}
func (*FakeHandler) ServeHTTP ¶
func (fake *FakeHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)
func (*FakeHandler) ServeHTTPArgsForCall ¶
func (fake *FakeHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)
func (*FakeHandler) ServeHTTPCallCount ¶
func (fake *FakeHandler) ServeHTTPCallCount() int
type FakeTokenValidator ¶
type FakeTokenValidator struct { ValidateStub func(token string) error // contains filtered or unexported fields }
func (*FakeTokenValidator) Invocations ¶
func (fake *FakeTokenValidator) Invocations() map[string][][]interface{}
func (*FakeTokenValidator) Validate ¶
func (fake *FakeTokenValidator) Validate(token string) error
func (*FakeTokenValidator) ValidateArgsForCall ¶
func (fake *FakeTokenValidator) ValidateArgsForCall(i int) string
func (*FakeTokenValidator) ValidateCallCount ¶
func (fake *FakeTokenValidator) ValidateCallCount() int
func (*FakeTokenValidator) ValidateReturns ¶
func (fake *FakeTokenValidator) ValidateReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.