deleteAccount

package
v0.0.0-...-0ba6107 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2017 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteAccountUseCase

type DeleteAccountUseCase interface {
	DeleteAccount(Request) error
}

DeleteAccountUseCase can remove an account from the application.

type Interactor

type Interactor struct {
	user.Store
	authenticate.AuthenticateUseCase
}

Interactor can do the actual delete account logic.

func (Interactor) DeleteAccount

func (i Interactor) DeleteAccount(request Request) error

DeleteAccount deletes the account of a user.

type Request

type Request struct {
	Login user.Login `json:"login"`
}

Request for deleting an account. The account is given by the Login Mail.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL