Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protection ¶
type Protection struct {
// contains filtered or unexported fields
}
func NewProtection ¶
func NewProtection(loginRepo repository.LoginAttemptRepository, blacklistRepo repository.IPBlacklistRepository) *Protection
func (*Protection) Cleanup ¶
func (p *Protection) Cleanup() error
func (*Protection) RecordFailure ¶
func (p *Protection) RecordFailure(ip, email string) error
func (*Protection) RecordSuccess ¶
func (p *Protection) RecordSuccess(ip, email string) error
Click to show internal directories.
Click to hide internal directories.