email

package
v0.0.0-...-74e7022 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 13 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
	ApplicationAccepted 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
⌂ 换网址