mail

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mail contains code for sending confirmation emails to users.

Index

Constants

This section is empty.

Variables

View Source
var ErrMailRejected = errors.New("email is rejected")

ErrMailRejected is returned when email sending attempt is rejected.

Functions

This section is empty.

Types

type Sender

type Sender interface {
	SendVerificationEmail(ctx context.Context, email, code string) error
	SendWelcomeEmailAsync(ctx context.Context, email string)
}

Sender is interface for sending the emails.

Directories

Path Synopsis
Package mandrill is implementation of sender interface.
Package mandrill is implementation of sender interface.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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