Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAlreadyActivated if the user was already confirmed. ErrAlreadyActivated = wwm.Error{"User with this ID was already activated", http.StatusBadRequest} )
Functions ¶
This section is empty.
Types ¶
type ActivateUseCase ¶
ActivateUseCase can confirm the mail adress of a new registration.
type Interactor ¶
Interactor can do the Activation logic.
func (Interactor) Activate ¶
func (i Interactor) Activate(req Request) error
Activate checks if the RegistrationID matches and enables the account.
Click to show internal directories.
Click to hide internal directories.