template

package
v0.0.0-...-1ad4281 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmailTemplate

func EmailTemplate(p Email) string

func StreamEmailTemplate

func StreamEmailTemplate(qw422016 *qt422016.Writer, p Email)

func WriteEmailTemplate

func WriteEmailTemplate(qq422016 qtio422016.Writer, p Email)

Types

type BaseEmail

type BaseEmail struct{}

func (*BaseEmail) Body

func (p *BaseEmail) Body() string

func (*BaseEmail) Header

func (p *BaseEmail) Header() string

func (*BaseEmail) StreamBody

func (p *BaseEmail) StreamBody(qw422016 *qt422016.Writer)

func (*BaseEmail) StreamHeader

func (p *BaseEmail) StreamHeader(qw422016 *qt422016.Writer)

func (*BaseEmail) StreamTitle

func (p *BaseEmail) StreamTitle(qw422016 *qt422016.Writer)

func (*BaseEmail) Title

func (p *BaseEmail) Title() string

func (*BaseEmail) WriteBody

func (p *BaseEmail) WriteBody(qq422016 qtio422016.Writer)

func (*BaseEmail) WriteHeader

func (p *BaseEmail) WriteHeader(qq422016 qtio422016.Writer)

func (*BaseEmail) WriteTitle

func (p *BaseEmail) WriteTitle(qq422016 qtio422016.Writer)

type Email

type Email interface {
	Header() string

	StreamHeader(qw422016 *qt422016.Writer)

	WriteHeader(qq422016 qtio422016.Writer)

	Title() string

	StreamTitle(qw422016 *qt422016.Writer)

	WriteTitle(qq422016 qtio422016.Writer)

	Body() string

	StreamBody(qw422016 *qt422016.Writer)

	WriteBody(qq422016 qtio422016.Writer)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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