Documentation ¶
Index ¶
- type Block
- type Mail
- type Mailset
- func (m *Mailset) CreateBlock(name string, args interface{}) *Block
- func (m *Mailset) GenerateMail(from string, to string, subject string, master *Block, blocks ...*Block) (*Mail, error)
- func (m *Mailset) RegisterBlock(name string, htmlTemplate string, textTemplate string)
- func (m *Mailset) RegisterBlocksFromFS(filesystem fs.FS)
- func (m *Mailset) RenderHTML(master *Block, blocks ...*Block) (string, error)
- func (m *Mailset) RenderText(master *Block, blocks ...*Block) (string, error)
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailset ¶
type Mailset struct {
// contains filtered or unexported fields
}
func NewMailSet ¶
func NewMailSet() *Mailset
func (*Mailset) CreateBlock ¶
func (*Mailset) GenerateMail ¶
func (*Mailset) RegisterBlock ¶
func (*Mailset) RegisterBlocksFromFS ¶
func (*Mailset) RenderHTML ¶
Click to show internal directories.
Click to hide internal directories.