Documentation ¶
Index ¶
- Variables
- type ConcealEmailGateway
- type ConcealEmailUsecase
- type ConcealEmailUsecaseImpl
- func (receiver ConcealEmailUsecaseImpl) Add(sourceEmail string, description *string) (string, error)
- func (receiver ConcealEmailUsecaseImpl) AddDescriptionToExistingEmail(concealedEmailPrefix string, description string) error
- func (receiver ConcealEmailUsecaseImpl) Delete(concealedEmailPrefix string) error
- func (receiver ConcealEmailUsecaseImpl) DeleteDescriptionFromExistingEmail(concealedEmailPrefix string) error
- func (receiver ConcealEmailUsecaseImpl) Init()
Constants ¶
This section is empty.
Variables ¶
View Source
var ActualEmailIsUnverified = errors.New("E-mail ownership has not been verified")
Functions ¶
This section is empty.
Types ¶
type ConcealEmailGateway ¶
type ConcealEmailGateway interface { AddConcealedEmailToActualEmailMapping(concealPrefix string, actualEmail string, description *string) error DeleteConcealedEmailToActualEmailMapping(concealPrefix string) error UpdateConcealedEmail(concealPrefix string, description *string) error GetActualEmailDetails(actualEmail string) (string, bool, error) }
type ConcealEmailUsecase ¶
type ConcealEmailUsecaseImpl ¶
type ConcealEmailUsecaseImpl struct{}
func (ConcealEmailUsecaseImpl) Add ¶
func (receiver ConcealEmailUsecaseImpl) Add(sourceEmail string, description *string) (string, error)
func (ConcealEmailUsecaseImpl) AddDescriptionToExistingEmail ¶
func (receiver ConcealEmailUsecaseImpl) AddDescriptionToExistingEmail(concealedEmailPrefix string, description string) error
func (ConcealEmailUsecaseImpl) Delete ¶
func (receiver ConcealEmailUsecaseImpl) Delete(concealedEmailPrefix string) error
func (ConcealEmailUsecaseImpl) DeleteDescriptionFromExistingEmail ¶
func (receiver ConcealEmailUsecaseImpl) DeleteDescriptionFromExistingEmail(concealedEmailPrefix string) error
func (ConcealEmailUsecaseImpl) Init ¶
func (receiver ConcealEmailUsecaseImpl) Init()
Click to show internal directories.
Click to hide internal directories.