Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLoginAttemptService ¶
func (FakeLoginAttemptService) Add ¶
func (f FakeLoginAttemptService) Add(ctx context.Context, username, IPAddress string) error
type MockLoginAttemptService ¶
type MockLoginAttemptService struct { AddCalled bool ResetCalled bool ValidateCalled bool ExpectedValid bool ExpectedErr error }
func (*MockLoginAttemptService) Add ¶
func (f *MockLoginAttemptService) Add(ctx context.Context, username, IPAddress string) error
Click to show internal directories.
Click to hide internal directories.