email

package
v0.0.0-...-721bd20 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func SendEmail

func SendEmail(subject, body string) error

Types

type EmailSender

type EmailSender interface {
	SendEmail(subject, body string) error
}
var EmailSenderImpl EmailSender

func NewEmailSender

func NewEmailSender() EmailSender

type Gomail

type Gomail struct {
	// contains filtered or unexported fields
}

func NewGomail

func NewGomail() *Gomail

func (*Gomail) SendEmail

func (g *Gomail) SendEmail(subject, body string) error

Jump to

Keyboard shortcuts

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