jobs

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailJobArgs

type EmailJobArgs struct {
	To          string `json:"to"`
	From        string `json:"from"`
	Subject     string `json:"subject"`
	TextVersion string `json:"text_version"`
	HtmlVersion string `json:"html_version"`
}

func (EmailJobArgs) Kind

func (EmailJobArgs) Kind() string

type EmailSender

type EmailSender interface {
	Send(
		ctx context.Context,
		to,
		from,
		subject,
		textVersion,
		htmlVersion string,
	) error
}

Jump to

Keyboard shortcuts

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