email

package
v0.0.0-...-7e18203 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(ctx context.Context, w http.ResponseWriter, r *http.Request, db *bun.DB)

func Send

func Send(person models.User, email Email, config *Config) error

Types

type Config

type Config struct {
	LogoUrl         string
	HomepageUrl     string
	CopyrightNotice string
	Greeting        string
	Signature       string
	Name            string

	Confirmation Email
	Assignment   Email
	Availability Email
}

func (*Config) ApplySettings

func (c *Config) ApplySettings(s map[string]string)

type Email

type Email struct {
	Subject    string
	Intros     []string
	Dictionary []hermes.Entry
	Actions    []hermes.Action
	Table      hermes.Table
	Outros     []string
}

Jump to

Keyboard shortcuts

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