resend

package
v0.26.7 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	SendEmailIncidentResolution(context.Context, *account.User, *monitor.Monitor, domain.ID) error
	SendEmailAboutIncident(context.Context, *account.User, *monitor.Monitor, *monitor.Incident) error
}

Service This interface is needed to allow the initialisation of either the concrete struct service or a mock service to run the project in CI environments

func NewService

func NewService(apiKey, from, hostname string) Service

func NewServiceMock

func NewServiceMock(logger *logs.Logger) Service

Jump to

Keyboard shortcuts

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