mail

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 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 {
	SendVerificationEmailAsync(ctx context.Context, email, code string)
	SendWelcomeEmailAsync(ctx context.Context, email string)
}

Sender is interface for sending the emails.

Directories

Path Synopsis
Package gmail is implementation of sender interface.
Package gmail is implementation of sender interface.
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