server

package
v0.0.0-...-8e8302e Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendEmail

func SendEmail(subject string, emailTo SendEmailObject, emailFrom SendEmailObject, emailContent SendEmailContent) error

SendEmail is used to send email to certian parties

Types

type MailerServer

type MailerServer struct {
}

MailerServer is class for welcome mail

func (*MailerServer) SendWelcomeMail

func (s *MailerServer) SendWelcomeMail(ctx context.Context, request *pb.WelcomeMailRequest) (*pb.Response, error)

SendWelcomeMail is used to send welcome mail

type SendEmailContent

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

SendEmailContent is used to hold email Content (plain text and html)

type SendEmailObject

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

SendEmailObject is used to hold basic sender/receiver email structure

Jump to

Keyboard shortcuts

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