send

package
v0.0.0-...-5e83000 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: BSD-2-Clause-Patent Imports: 0 Imported by: 0

Documentation

Overview

Package send contains message sender abstraction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake

type Fake struct{}

Fake implements Sender interface doing nothing.

func (*Fake) Send

func (s *Fake) Send(_, _, _ string) error

Send accretes the message.

type Sender

type Sender interface {
	// Send sends message.
	Send(recipient, subject, message string) error
}

Sender abstracts message sender methods.

Directories

Path Synopsis
Package smtp contains implementation of message sender using SMTP server.
Package smtp contains implementation of message sender using SMTP server.

Jump to

Keyboard shortcuts

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