emailnotifications

package
v0.0.0-...-9c90d3e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *config.Config,
	gitUserStore core.GitUserStore,
	orgStore core.OrganizationStore,
	requests core.Requests,
	logger lumber.Logger) core.EmailNotificationManager

New returns a new EmailNotificationManager

Types

type Message

type Message struct {
	From    string   `json:"from" validate:"required,email"`
	To      []string `json:"to" validate:"required,email"`
	Subject string   `json:"subject"`
	Body    string   `json:"body"`
}

Jump to

Keyboard shortcuts

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