email

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func LoadTemplates added in v0.1.4

func LoadTemplates(fsys fs.FS, templates map[string]Template) (map[string]Template, error)

func Use

func Use(opts ...UseOption) runtime.Capability

Types

type Attachment added in v0.1.16

type Attachment = coreemail.Attachment

type AttachmentOpenError added in v0.1.16

type AttachmentOpenError = coreemail.AttachmentOpenError

type AttachmentSource added in v0.1.16

type AttachmentSource = coreemail.AttachmentSource

type AttachmentSourceFunc added in v0.1.16

type AttachmentSourceFunc = coreemail.AttachmentSourceFunc

type Config

type Config = coreemail.Config

type ConfigLoader

type ConfigLoader func(app *runtime.App) (Config, error)

type DirectMessage added in v0.1.4

type DirectMessage = coreemail.DirectMessage

type Manager

type Manager = coreemail.Manager

func From

func From(app *runtime.App) *Manager

func FromDefault

func FromDefault() (*Manager, error)

type Message

type Message = coreemail.Message

type Middleware

type Middleware = coreemail.Middleware

type ProviderConfig

type ProviderConfig = coreemail.ProviderConfig

type ProviderResolver added in v0.1.16

type ProviderResolver = coreemail.ProviderResolver

type ProviderResolverFunc added in v0.1.16

type ProviderResolverFunc = coreemail.ProviderResolverFunc

type SendResult

type SendResult = coreemail.SendResult

type Template added in v0.1.4

type Template = coreemail.Template

type TemplateMessage added in v0.1.4

type TemplateMessage = coreemail.TemplateMessage

type TemplateRenderer added in v0.1.4

type TemplateRenderer = coreemail.TemplateRenderer

type UseOption

type UseOption func(*useOptions)

func WithConfig

func WithConfig(cfg Config) UseOption

func WithConfigLoader

func WithConfigLoader(loader ConfigLoader) UseOption

func WithDependencies

func WithDependencies(deps ...runtime.Dependency) UseOption

func WithExternal added in v0.1.4

func WithExternal() UseOption

func WithInternal

func WithInternal() UseOption

func WithManager

func WithManager(manager *Manager) UseOption

func WithMiddleware

func WithMiddleware(middleware ...Middleware) UseOption

func WithOptional

func WithOptional() UseOption

Jump to

Keyboard shortcuts

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