email

package
v0.0.0-...-ea02eb6 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotifyOfCertificateErrors

func NotifyOfCertificateErrors(
	ctx context.Context,
	ticker *time.Ticker,
	s *psql.Storage,
	eServer *Server,
	contour string,
	addresses *models.EmailAddresses,
)

func NotifyOfUnissuedPolicies

func NotifyOfUnissuedPolicies(
	ctx context.Context,
	tc *time_scheduler.TimerController,
	s *psql.Storage,
	eServer *Server,
	contour string,
	scheduledTimes []string,
	addresses *models.EmailAddresses,
)

Types

type Server

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

func NewServer

func NewServer(host, port string) *Server

func (*Server) Send

func (eServer *Server) Send(from string, to []string, subject string, body string) error

Jump to

Keyboard shortcuts

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