repository

package
Version: v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmailRepo

func NewEmailRepo(h *handler.Handler) (domRepo.IEmailRepo, error)

NewEmailRepo new EmailRepo

func NewEmailTemplateRepo

func NewEmailTemplateRepo(h *handler.Handler) (domRepo.IEmailTemplateRepo, error)

NewEmailTemplateRepo new EmailTemplateRepo implement IEmailTemplateRepo

Types

type BaseRepo

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

BaseRepo type

func (*BaseRepo) SetDBConnectionName

func (r *BaseRepo) SetDBConnectionName(v string)

SetDBConnectionName set DBConnectionName

func (*BaseRepo) SetHandler

func (r *BaseRepo) SetHandler(h *handler.Handler)

SetHandler set Handler

type EmailRepo

type EmailRepo struct {
	BaseRepo
	// contains filtered or unexported fields
}

EmailRepo type Implement IEmailRepo

func (*EmailRepo) Send

Send send Email

type EmailTemplateRepo

type EmailTemplateRepo struct {
	BaseRepo
}

EmailTemplateRepo type implement IEmailTemplateRepo

func (*EmailTemplateRepo) Create

Create create new template

func (*EmailTemplateRepo) Delete

Delete delete Email Template & Template Version by code

func (*EmailTemplateRepo) FindByCode

FindByCode find EmailTemplate by code

func (*EmailTemplateRepo) ListAll

ListAll list all email template

func (*EmailTemplateRepo) SetActive

SetActive set Email Template Active Status

func (*EmailTemplateRepo) Update

Update update email template

Jump to

Keyboard shortcuts

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