notify

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmailNotifier added in v1.0.3

func NewEmailNotifier() internal_models.Notifier

NewEmailNotifier creates a new EmailNotifier.

func SendEmail

func SendEmail(host string, port int, username, password, to, from, subject, body string) error

Types

type EmailNotifier added in v1.0.3

type EmailNotifier struct{}

EmailNotifier implements internal_models.Notifier using SMTP email.

func (*EmailNotifier) SendPublishedURLNotification added in v1.0.3

func (n *EmailNotifier) SendPublishedURLNotification(publishedURL *url.URL, title string) error

SendPublishedURLNotification sends an email notification with the published URL using environment variables defined in terraform/job.tf