email

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: ISC Imports: 8 Imported by: 0

Documentation

Overview

Package email handles the sending of emails

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Config config.Config
}

Service holds a golang-base-project config.Config and provides functions to send emails

func New

func New(c config.Config) Service

New takes a golang-base-project config.Config and returns an instance of Service

func (Service) Send

func (s Service) Send(to string, subject string, message string)

Send sends an email with the provided subject and message to the provided email.

Jump to

Keyboard shortcuts

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