Documentation
¶
Index ¶
- type Handler
- func (ch *Handler) Activate(w http.ResponseWriter, req *http.Request) error
- func (ch *Handler) ChangePassword(w http.ResponseWriter, req *http.Request) error
- func (ch *Handler) DeleteAccount(w http.ResponseWriter, req *http.Request) error
- func (ch *Handler) Register(w http.ResponseWriter, req *http.Request) error
- func (ch *Handler) SetUpPayPal(w http.ResponseWriter, req *http.Request) error
- type Interactor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
Interactor
}
Handler holds possible Commands (from CQRS) for users.
func (*Handler) ChangePassword ¶
ChangePassword of the user
func (*Handler) DeleteAccount ¶
DeleteAccount deletes the User object for the user
func (*Handler) SetUpPayPal ¶
SetUpPayPal for this user
type Interactor ¶
type Interactor interface { register.RegisterUseCase activate.ActivateUseCase setUpPayPal.SetUpPayPalUseCase changePassword.ChangePasswordUseCase deleteAccount.DeleteAccountUseCase }
Interactor describes the group of methods needed for this command handler.
Click to show internal directories.
Click to hide internal directories.