notify

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail struct {
	From        string
	To          string
	Subject     string
	Body        string
	Year        int
	SiteURL     string
	SiteTitle   string
	ActionLabel string
	ActionUrl   string
	Greeting    string
	Intro       string
	Outro       string
	Salutation  template.HTML
}

func (*Mail) Generator

func (mailer *Mail) Generator(level string) *Mail

func (*Mail) Send

func (mailer *Mail) Send() error

type Notify

type Notify interface {
	Send() error
}

Jump to

Keyboard shortcuts

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