templatemanager

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const MnBlck = "email"
View Source
const SbjBlck = "subject"

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailStorage

type EmailStorage struct {
	// contains filtered or unexported fields
}

func NewEmailStorage

func NewEmailStorage() *EmailStorage

func (*EmailStorage) AddComponents

func (es *EmailStorage) AddComponents(components []string)

func (*EmailStorage) AddEmail

func (es *EmailStorage) AddEmail(res *resources.TemplateResource)

func (*EmailStorage) AddI10n

func (es *EmailStorage) AddI10n(i10n map[string]map[string]string)

func (*EmailStorage) BuildEmail

func (es *EmailStorage) BuildEmail(emailName string, locale string, parameters interface{}) (string, string, error)

func (*EmailStorage) HasEmail

func (es *EmailStorage) HasEmail(emailName string) error

Jump to

Keyboard shortcuts

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