Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeRepository
- func (fake *FakeRepository) AddLoginAttempt(ctx context.Context, id string, t time.Time) error
- func (fake *FakeRepository) AddLoginAttemptArgsForCall(i int) (context.Context, string, time.Time)
- func (fake *FakeRepository) AddLoginAttemptCallCount() int
- func (fake *FakeRepository) AddLoginAttemptReturns(result1 error)
- func (fake *FakeRepository) AddLoginAttemptReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
- func (fake *FakeRepository) LoginAttemptsCountSince(ctx context.Context, id string, t time.Time) (uint64, error)
- func (fake *FakeRepository) LoginAttemptsCountSinceArgsForCall(i int) (context.Context, string, time.Time)
- func (fake *FakeRepository) LoginAttemptsCountSinceCallCount() int
- func (fake *FakeRepository) LoginAttemptsCountSinceReturns(result1 uint64, result2 error)
- func (fake *FakeRepository) LoginAttemptsCountSinceReturnsOnCall(i int, result1 uint64, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRepository ¶
type FakeRepository struct { LoginAttemptsCountSinceStub func(ctx context.Context, id string, t time.Time) (uint64, error) AddLoginAttemptStub func(ctx context.Context, id string, t time.Time) error // contains filtered or unexported fields }
func (*FakeRepository) AddLoginAttempt ¶
func (*FakeRepository) AddLoginAttemptArgsForCall ¶
func (*FakeRepository) AddLoginAttemptCallCount ¶
func (fake *FakeRepository) AddLoginAttemptCallCount() int
func (*FakeRepository) AddLoginAttemptReturns ¶
func (fake *FakeRepository) AddLoginAttemptReturns(result1 error)
func (*FakeRepository) AddLoginAttemptReturnsOnCall ¶
func (fake *FakeRepository) AddLoginAttemptReturnsOnCall(i int, result1 error)
func (*FakeRepository) Invocations ¶
func (fake *FakeRepository) Invocations() map[string][][]interface{}
func (*FakeRepository) LoginAttemptsCountSince ¶
func (*FakeRepository) LoginAttemptsCountSinceArgsForCall ¶
func (*FakeRepository) LoginAttemptsCountSinceCallCount ¶
func (fake *FakeRepository) LoginAttemptsCountSinceCallCount() int
func (*FakeRepository) LoginAttemptsCountSinceReturns ¶
func (fake *FakeRepository) LoginAttemptsCountSinceReturns(result1 uint64, result2 error)
func (*FakeRepository) LoginAttemptsCountSinceReturnsOnCall ¶
func (fake *FakeRepository) LoginAttemptsCountSinceReturnsOnCall(i int, result1 uint64, result2 error)
Click to show internal directories.
Click to hide internal directories.