email

package
v0.0.0-...-1726717 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	Log             *zerolog.Logger
	StorageProvider storage.Provider
}

Dependencies struct for email provider

type Provider

type Provider interface {
	SendEmail(to []string, event string, data map[string]interface{}) error
}

Provider interface for email provider

func New

func New(
	config *config.Config,
	deps *Dependencies,
) (Provider, error)

New returns a new email provider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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